pub struct Dash {
pub intervals: Vec<f32>,
pub phase: f32,
}Expand description
Dash defines alternating painted and skipped lengths along each contour.
Fields§
§intervals: Vec<f32>intervals alternates painted and skipped lengths, starting with painted.
phase: f32phase offsets the start into the repeating interval cycle.
Trait Implementations§
impl StructuralPartialEq for Dash
Auto Trait Implementations§
impl Freeze for Dash
impl RefUnwindSafe for Dash
impl Send for Dash
impl Sync for Dash
impl Unpin for Dash
impl UnsafeUnpin for Dash
impl UnwindSafe for Dash
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