Struct tiny_skia::StrokeDash
source · [−]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
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StrokeDash
impl Send for StrokeDash
impl Sync for StrokeDash
impl Unpin for StrokeDash
impl UnwindSafe for StrokeDash
Blanket Implementations
Mutably borrows from an owned value. Read more