Enum NoiseBlock
#[non_exhaustive]pub enum NoiseBlock {
Air,
Water,
Lava,
Solid,
Other,
}Expand description
A noise-column block, classified by the questions structures ask.
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.
Air
An air block.
Water
Water, including water supplied by an aquifer.
Lava
Lava.
Solid
A noise block whose state blocks motion.
Other
Any other noise-column state.
Implementations§
§impl NoiseBlock
impl NoiseBlock
Trait Implementations§
§impl Clone for NoiseBlock
impl Clone for NoiseBlock
§fn clone(&self) -> NoiseBlock
fn clone(&self) -> NoiseBlock
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 moreimpl Copy for NoiseBlock
§impl Debug for NoiseBlock
impl Debug for NoiseBlock
impl Eq for NoiseBlock
§impl PartialEq for NoiseBlock
impl PartialEq for NoiseBlock
impl StructuralPartialEq for NoiseBlock
Auto Trait Implementations§
impl Freeze for NoiseBlock
impl RefUnwindSafe for NoiseBlock
impl Send for NoiseBlock
impl Sync for NoiseBlock
impl Unpin for NoiseBlock
impl UnsafeUnpin for NoiseBlock
impl UnwindSafe for NoiseBlock
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