pub struct StrokeInstance {
pub color: Color,
pub width: f64,
pub style: StrokeStyle,
}Expand description
Resolved stroke style used by canvas drawing primitives.
Fields§
§color: Color§width: f64§style: StrokeStyleAuto Trait Implementations§
impl Freeze for StrokeInstance
impl RefUnwindSafe for StrokeInstance
impl Send for StrokeInstance
impl Sync for StrokeInstance
impl Unpin for StrokeInstance
impl UnsafeUnpin for StrokeInstance
impl UnwindSafe for StrokeInstance
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.