pub struct DashPattern {
pub array: Vec<f32>,
pub offset: f32,
}Expand description
Dash pattern for a stroke. array is an alternating
dash-on / dash-off length list (in user units); offset is the
phase offset from the path start.
Fields§
§array: Vec<f32>§offset: f32Trait Implementations§
Source§impl Clone for DashPattern
impl Clone for DashPattern
Source§fn clone(&self) -> DashPattern
fn clone(&self) -> DashPattern
Returns a duplicate of the value. Read more
1.0.0 · 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 DashPattern
impl Debug for DashPattern
Source§impl Default for DashPattern
impl Default for DashPattern
Source§fn default() -> DashPattern
fn default() -> DashPattern
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DashPattern
impl RefUnwindSafe for DashPattern
impl Send for DashPattern
impl Sync for DashPattern
impl Unpin for DashPattern
impl UnsafeUnpin for DashPattern
impl UnwindSafe for DashPattern
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