pub struct DashPatternV1 {
pub dash: Px,
pub gap: Px,
pub phase: Px,
}Expand description
Dash pattern for stroke-like primitives.
Units are logical pixels (scale-aware; the renderer multiplies by the current scale factor).
Fields§
§dash: Px§gap: Px§phase: PxImplementations§
Trait Implementations§
Source§impl Clone for DashPatternV1
impl Clone for DashPatternV1
Source§fn clone(&self) -> DashPatternV1
fn clone(&self) -> DashPatternV1
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 DashPatternV1
impl Debug for DashPatternV1
Source§impl PartialEq for DashPatternV1
impl PartialEq for DashPatternV1
impl Copy for DashPatternV1
impl StructuralPartialEq for DashPatternV1
Auto Trait Implementations§
impl Freeze for DashPatternV1
impl RefUnwindSafe for DashPatternV1
impl Send for DashPatternV1
impl Sync for DashPatternV1
impl Unpin for DashPatternV1
impl UnsafeUnpin for DashPatternV1
impl UnwindSafe for DashPatternV1
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