Enum minecraft_data::dimension_type
source · #[repr(u8)]pub enum dimension_type {
empty = 0,
overworld = 1,
overworld_caves = 2,
the_end = 3,
the_nether = 4,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for dimension_type
impl Clone for dimension_type
source§fn clone(&self) -> dimension_type
fn clone(&self) -> dimension_type
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for dimension_type
impl Debug for dimension_type
source§impl Default for dimension_type
impl Default for dimension_type
source§impl Display for dimension_type
impl Display for dimension_type
source§impl Hash for dimension_type
impl Hash for dimension_type
source§impl PartialEq for dimension_type
impl PartialEq for dimension_type
source§fn eq(&self, other: &dimension_type) -> bool
fn eq(&self, other: &dimension_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Write for dimension_type
impl Write for dimension_type
impl Copy for dimension_type
impl Eq for dimension_type
impl StructuralEq for dimension_type
impl StructuralPartialEq for dimension_type
Auto Trait Implementations§
impl RefUnwindSafe for dimension_type
impl Send for dimension_type
impl Sync for dimension_type
impl Unpin for dimension_type
impl UnwindSafe for dimension_type
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