pub struct Brush<H: HasContext + ?Sized>(/* private fields */);
Expand description
The brush type.
Trait Implementations§
impl<H: HasContext + ?Sized> IntoBrush<RenderContext<'_, H>> for Brush<H>
Auto Trait Implementations§
impl<H> Freeze for Brush<H>where
H: ?Sized,
impl<H> RefUnwindSafe for Brush<H>
impl<H> !Send for Brush<H>
impl<H> !Sync for Brush<H>
impl<H> Unpin for Brush<H>where
H: ?Sized,
impl<H> UnwindSafe for Brush<H>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.