pub struct StrokeDash { /* private fields */ }
Expand description
A stroke dashing properties.
Contains an array of pairs, where the first number indicates an “on” interval and the second one indicates an “off” interval; a dash offset value and internal properties.
§Guarantees
- The dash array always have an even number of values.
- All dash array values are finite and >= 0.
- There is at least two dash array values.
- The sum of all dash array values is positive and finite.
- Dash offset is finite.
Implementations§
source§impl StrokeDash
impl StrokeDash
Trait Implementations§
source§impl Clone for StrokeDash
impl Clone for StrokeDash
source§fn clone(&self) -> StrokeDash
fn clone(&self) -> StrokeDash
Returns a copy 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 StrokeDash
impl Debug for StrokeDash
source§impl PartialEq for StrokeDash
impl PartialEq for StrokeDash
impl StructuralPartialEq for StrokeDash
Auto Trait Implementations§
impl Freeze for StrokeDash
impl RefUnwindSafe for StrokeDash
impl Send for StrokeDash
impl Sync for StrokeDash
impl Unpin for StrokeDash
impl UnwindSafe for StrokeDash
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)