Enum entmet_lib::entities::entity::PaintingVariant
source · #[repr(u8)]pub enum PaintingVariant {
Show 30 variants
Alban = 1,
Aztec = 2,
Aztec2 = 3,
Bomb = 4,
BurningSkull = 5,
Bust = 6,
Courbet = 7,
Creebet = 8,
DonkeyKong = 9,
Earth = 10,
Fighters = 11,
Fire = 12,
Graham = 13,
Kebab = 14,
Match = 15,
Pigscene = 16,
Plant = 17,
Pointer = 18,
Pool = 19,
Sea = 20,
Skeleton = 21,
SkullAndRoses = 22,
Stage = 23,
Sunset = 24,
Void = 25,
Wanderer = 26,
Wasteland = 27,
Water = 28,
Wind = 29,
Wither = 30,
}Expand description
An enum of all the minecraft painting variants
§Example
use entmet_lib::entities::entity::PaintingVariant;
let var1 = PaintingVariant::Alban;
assert_eq!(var1 as u8, 1);Variants§
Alban = 1
Aztec = 2
Aztec2 = 3
Bomb = 4
BurningSkull = 5
Bust = 6
Courbet = 7
Creebet = 8
DonkeyKong = 9
Earth = 10
Fighters = 11
Fire = 12
Graham = 13
Kebab = 14
Match = 15
Pigscene = 16
Plant = 17
Pointer = 18
Pool = 19
Sea = 20
Skeleton = 21
SkullAndRoses = 22
Stage = 23
Sunset = 24
Void = 25
Wanderer = 26
Wasteland = 27
Water = 28
Wind = 29
Wither = 30
Trait Implementations§
source§impl Clone for PaintingVariant
impl Clone for PaintingVariant
source§fn clone(&self) -> PaintingVariant
fn clone(&self) -> PaintingVariant
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 PaintingVariant
impl Default for PaintingVariant
source§fn default() -> PaintingVariant
fn default() -> PaintingVariant
Returns the “default value” for a type. Read more
impl Copy for PaintingVariant
Auto Trait Implementations§
impl Freeze for PaintingVariant
impl RefUnwindSafe for PaintingVariant
impl Send for PaintingVariant
impl Sync for PaintingVariant
impl Unpin for PaintingVariant
impl UnwindSafe for PaintingVariant
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