pub struct DrawValues {
pub dash_array: f32,
pub dash_offset: f32,
}Expand description
CSS stroke-dash values for animating SVG path drawing.
Fields§
§dash_array: f32Value for stroke-dasharray in SVG user units.
dash_offset: f32Value for stroke-dashoffset in SVG user units.
Implementations§
Trait Implementations§
Source§impl Clone for DrawValues
impl Clone for DrawValues
Source§fn clone(&self) -> DrawValues
fn clone(&self) -> DrawValues
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 moreimpl Copy for DrawValues
Source§impl Debug for DrawValues
impl Debug for DrawValues
Source§impl PartialEq for DrawValues
impl PartialEq for DrawValues
Source§fn eq(&self, other: &DrawValues) -> bool
fn eq(&self, other: &DrawValues) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DrawValues
Auto Trait Implementations§
impl Freeze for DrawValues
impl RefUnwindSafe for DrawValues
impl Send for DrawValues
impl Sync for DrawValues
impl Unpin for DrawValues
impl UnsafeUnpin for DrawValues
impl UnwindSafe for DrawValues
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