ImmutableDashStyle
struct · ferroui-base · v0.5.0
struct ImmutableDashStyle
Represents the sequence of dashes and gaps that will be applied by an
ImmutablePen.
Members
new
fn new(dashes: Option<&[f64]>, offset: f64) -> Self
Creates a dash style. None dashes produce an empty sequence.
dashes
fn dashes(self: &Self) -> &[f64]
The length of alternating dashes and gaps.
offset
fn offset(self: &Self) -> f64
How far in the dash sequence the stroke will start.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugPartialEqIDashStyle
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.