pub struct CompositionBrush(/* private fields */);Expand description
The base type shared by every composition brush. A Brush can be turned
into one via Brush::as_brush to paint a visual or fill a shape.
Trait Implementations§
Source§impl Clone for CompositionBrush
impl Clone for CompositionBrush
Source§fn clone(&self) -> CompositionBrush
fn clone(&self) -> CompositionBrush
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompositionBrush
impl RefUnwindSafe for CompositionBrush
impl Send for CompositionBrush
impl Sync for CompositionBrush
impl Unpin for CompositionBrush
impl UnsafeUnpin for CompositionBrush
impl UnwindSafe for CompositionBrush
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