Struct iced_graphics::geometry::stroke::LineDash
source · pub struct LineDash<'a> {
pub segments: &'a [f32],
pub offset: usize,
}
Available on crate feature
geometry
only.Expand description
The dash pattern used when stroking the line.
Fields§
§segments: &'a [f32]
The alternating lengths of lines and gaps which describe the pattern.
offset: usize
The offset of LineDash::segments
to start the pattern.
Trait Implementations§
impl<'a> Copy for LineDash<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for LineDash<'a>
impl<'a> Send for LineDash<'a>
impl<'a> Sync for LineDash<'a>
impl<'a> Unpin for LineDash<'a>
impl<'a> UnwindSafe for LineDash<'a>
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.