pub enum PaintMode {
Raise,
Lower,
Flatten {
target: f32,
},
Smooth,
Noise {
seed: u64,
scale: f32,
},
}Expand description
What operation the terrain painter performs.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaintMode
impl RefUnwindSafe for PaintMode
impl Send for PaintMode
impl Sync for PaintMode
impl Unpin for PaintMode
impl UnsafeUnpin for PaintMode
impl UnwindSafe for PaintMode
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