#[repr(u8)]pub enum block_entity_type {
Show 33 variants
furnace = 0,
chest = 1,
trapped_chest = 2,
ender_chest = 3,
jukebox = 4,
dispenser = 5,
dropper = 6,
sign = 7,
mob_spawner = 8,
piston = 9,
brewing_stand = 10,
enchanting_table = 11,
end_portal = 12,
beacon = 13,
skull = 14,
daylight_detector = 15,
hopper = 16,
comparator = 17,
banner = 18,
structure_block = 19,
end_gateway = 20,
command_block = 21,
shulker_box = 22,
bed = 23,
conduit = 24,
barrel = 25,
smoker = 26,
blast_furnace = 27,
lectern = 28,
bell = 29,
jigsaw = 30,
campfire = 31,
beehive = 32,
}Variants§
furnace = 0
chest = 1
trapped_chest = 2
ender_chest = 3
jukebox = 4
dispenser = 5
dropper = 6
sign = 7
mob_spawner = 8
piston = 9
brewing_stand = 10
enchanting_table = 11
end_portal = 12
beacon = 13
skull = 14
daylight_detector = 15
hopper = 16
comparator = 17
structure_block = 19
end_gateway = 20
command_block = 21
shulker_box = 22
bed = 23
conduit = 24
barrel = 25
smoker = 26
blast_furnace = 27
lectern = 28
bell = 29
jigsaw = 30
campfire = 31
beehive = 32
Implementations§
Trait Implementations§
source§impl Clone for block_entity_type
impl Clone for block_entity_type
source§fn clone(&self) -> block_entity_type
fn clone(&self) -> block_entity_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 block_entity_type
impl Debug for block_entity_type
source§impl Display for block_entity_type
impl Display for block_entity_type
source§impl Hash for block_entity_type
impl Hash for block_entity_type
source§impl PartialEq for block_entity_type
impl PartialEq for block_entity_type
source§fn eq(&self, other: &block_entity_type) -> bool
fn eq(&self, other: &block_entity_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Write for block_entity_type
impl Write for block_entity_type
impl Copy for block_entity_type
impl Eq for block_entity_type
impl StructuralPartialEq for block_entity_type
Auto Trait Implementations§
impl Freeze for block_entity_type
impl RefUnwindSafe for block_entity_type
impl Send for block_entity_type
impl Sync for block_entity_type
impl Unpin for block_entity_type
impl UnwindSafe for block_entity_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