#[non_exhaustive]pub enum StrokeDashoffset {
Length(Length),
Percentage(Percentage),
Number(f64),
}Expand description
A value of stroke-dashoffset.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for StrokeDashoffset
impl Clone for StrokeDashoffset
Source§fn clone(&self) -> StrokeDashoffset
fn clone(&self) -> StrokeDashoffset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StrokeDashoffset
impl Debug for StrokeDashoffset
Source§impl Display for StrokeDashoffset
impl Display for StrokeDashoffset
Source§impl From<Length> for StrokeDashoffset
impl From<Length> for StrokeDashoffset
Source§impl From<Percentage> for StrokeDashoffset
impl From<Percentage> for StrokeDashoffset
Source§fn from(v: Percentage) -> Self
fn from(v: Percentage) -> Self
Converts to this type from the input type.
Source§impl From<f64> for StrokeDashoffset
impl From<f64> for StrokeDashoffset
Source§impl From<i32> for StrokeDashoffset
impl From<i32> for StrokeDashoffset
Source§impl PartialEq for StrokeDashoffset
impl PartialEq for StrokeDashoffset
impl StructuralPartialEq for StrokeDashoffset
Auto Trait Implementations§
impl Freeze for StrokeDashoffset
impl RefUnwindSafe for StrokeDashoffset
impl Send for StrokeDashoffset
impl Sync for StrokeDashoffset
impl Unpin for StrokeDashoffset
impl UnsafeUnpin for StrokeDashoffset
impl UnwindSafe for StrokeDashoffset
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more