#[non_exhaustive]pub enum PaintDesc {
Solid,
Linear {
start: Vec2,
end: Vec2,
start_color: Color,
end_color: Color,
},
}Expand description
How a VectorMesh is painted.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for PaintDesc
impl StructuralPartialEq for PaintDesc
Auto Trait Implementations§
impl Freeze for PaintDesc
impl RefUnwindSafe for PaintDesc
impl Send for PaintDesc
impl Sync for PaintDesc
impl Unpin for PaintDesc
impl UnsafeUnpin for PaintDesc
impl UnwindSafe for PaintDesc
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