pub enum StrokeDashArray<'a> {
List(&'a [f64]),
Observable(&'a MediaCollection<f64>),
}Expand description
The dashes handed to Pen::try_modify_or_create.
Variants§
List(&'a [f64])
A plain list: the created dash style is immutable.
Observable(&'a MediaCollection<f64>)
An observable list: the created dash style is mutable and shares the list.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for StrokeDashArray<'a>
impl<'a> !Send for StrokeDashArray<'a>
impl<'a> !Sync for StrokeDashArray<'a>
impl<'a> !UnwindSafe for StrokeDashArray<'a>
impl<'a> Freeze for StrokeDashArray<'a>
impl<'a> Unpin for StrokeDashArray<'a>
impl<'a> UnsafeUnpin for StrokeDashArray<'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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more