pub struct DashPattern {
pub dashes: Vec<f64>,
pub offset: f64,
}Expand description
A repeating dash pattern for stroked paths.
Fields§
§dashes: Vec<f64>Alternating lengths of painted and unpainted segments.
offset: f64Offset into the dash pattern at which the stroke begins.
Trait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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