pub struct Stroke {
pub color: Box<dyn PropertyInstance<Color>>,
pub width: Box<dyn PropertyInstance<SizePixels>>,
}Fields
color: Box<dyn PropertyInstance<Color>>width: Box<dyn PropertyInstance<SizePixels>>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Stroke
impl !Send for Stroke
impl !Sync for Stroke
impl Unpin for Stroke
impl !UnwindSafe for Stroke
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
sourcefn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
sourceimpl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
sourcefn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.