pub enum Paint<'a> {
Color(Color),
Pattern(Box<Pattern<'a>>),
}Expand description
A type of paint.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Paint<'a>
impl<'a> !RefUnwindSafe for Paint<'a>
impl<'a> Send for Paint<'a>
impl<'a> Sync for Paint<'a>
impl<'a> Unpin for Paint<'a>
impl<'a> !UnwindSafe for Paint<'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