Enum minecraft_data::villager_type
source · #[repr(u8)]pub enum villager_type {
desert = 0,
jungle = 1,
plains = 2,
savanna = 3,
snow = 4,
swamp = 5,
taiga = 6,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for villager_type
impl Clone for villager_type
source§fn clone(&self) -> villager_type
fn clone(&self) -> villager_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 villager_type
impl Debug for villager_type
source§impl Display for villager_type
impl Display for villager_type
source§impl Hash for villager_type
impl Hash for villager_type
source§impl PartialEq for villager_type
impl PartialEq for villager_type
source§fn eq(&self, other: &villager_type) -> bool
fn eq(&self, other: &villager_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Write for villager_type
impl Write for villager_type
impl Copy for villager_type
impl Eq for villager_type
impl StructuralPartialEq for villager_type
Auto Trait Implementations§
impl Freeze for villager_type
impl RefUnwindSafe for villager_type
impl Send for villager_type
impl Sync for villager_type
impl Unpin for villager_type
impl UnwindSafe for villager_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