#[repr(u8)]pub enum villager_profession {
Show 15 variants
none = 0,
armorer = 1,
butcher = 2,
cartographer = 3,
cleric = 4,
farmer = 5,
fisherman = 6,
fletcher = 7,
leatherworker = 8,
librarian = 9,
mason = 10,
nitwit = 11,
shepherd = 12,
toolsmith = 13,
weaponsmith = 14,
}Variants§
none = 0
armorer = 1
butcher = 2
cartographer = 3
cleric = 4
farmer = 5
fisherman = 6
fletcher = 7
leatherworker = 8
librarian = 9
mason = 10
nitwit = 11
shepherd = 12
toolsmith = 13
weaponsmith = 14
Implementations§
Trait Implementations§
source§impl Clone for villager_profession
impl Clone for villager_profession
source§fn clone(&self) -> villager_profession
fn clone(&self) -> villager_profession
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_profession
impl Debug for villager_profession
source§impl Display for villager_profession
impl Display for villager_profession
source§impl Hash for villager_profession
impl Hash for villager_profession
source§impl PartialEq for villager_profession
impl PartialEq for villager_profession
source§fn eq(&self, other: &villager_profession) -> bool
fn eq(&self, other: &villager_profession) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Write for villager_profession
impl Write for villager_profession
impl Copy for villager_profession
impl Eq for villager_profession
impl StructuralEq for villager_profession
impl StructuralPartialEq for villager_profession
Auto Trait Implementations§
impl RefUnwindSafe for villager_profession
impl Send for villager_profession
impl Sync for villager_profession
impl Unpin for villager_profession
impl UnwindSafe for villager_profession
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