Enum entmet_lib::entities::entity::BoatWoodType
source · pub enum BoatWoodType {
Oak = 0,
Spruce = 1,
Birch = 2,
Jungle = 3,
Acacia = 4,
DarkOak = 5,
}Expand description
An enum of the wood types that a boat can consist of
Variants§
Oak = 0
Oak wood
Spruce = 1
Spruce wood
Birch = 2
Birch wood
Jungle = 3
Jungle wood
Acacia = 4
Acacia wood
DarkOak = 5
Dark oak wood
Trait Implementations§
source§impl Clone for BoatWoodType
impl Clone for BoatWoodType
source§fn clone(&self) -> BoatWoodType
fn clone(&self) -> BoatWoodType
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 Default for BoatWoodType
impl Default for BoatWoodType
source§fn default() -> BoatWoodType
fn default() -> BoatWoodType
Returns the “default value” for a type. Read more
source§impl PartialEq for BoatWoodType
impl PartialEq for BoatWoodType
source§fn eq(&self, other: &BoatWoodType) -> bool
fn eq(&self, other: &BoatWoodType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for BoatWoodType
impl StructuralPartialEq for BoatWoodType
Auto Trait Implementations§
impl Freeze for BoatWoodType
impl RefUnwindSafe for BoatWoodType
impl Send for BoatWoodType
impl Sync for BoatWoodType
impl Unpin for BoatWoodType
impl UnwindSafe for BoatWoodType
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