Enum Heightmap
#[non_exhaustive]pub enum Heightmap {
WorldSurface,
MotionBlocking,
MotionBlockingNoLeaves,
OceanFloor,
}Expand description
Which of a column’s heights (Heightmap.Types) a run’s y counts from.
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 Heightmap
impl Eq for Heightmap
impl StructuralPartialEq for Heightmap
Auto Trait Implementations§
impl Freeze for Heightmap
impl RefUnwindSafe for Heightmap
impl Send for Heightmap
impl Sync for Heightmap
impl Unpin for Heightmap
impl UnsafeUnpin for Heightmap
impl UnwindSafe for Heightmap
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