pub enum BlockEntityStorage {
Standard(u8),
FurnaceInput,
FurnaceOutput,
FurnaceFuel,
}Expand description
Represent the storage slot for a block entity.
Variants§
Standard(u8)
The storage slot is referencing a classic linear inventory at given index.
FurnaceInput
FurnaceOutput
FurnaceFuel
Trait Implementations§
Source§impl Clone for BlockEntityStorage
impl Clone for BlockEntityStorage
Source§fn clone(&self) -> BlockEntityStorage
fn clone(&self) -> BlockEntityStorage
Returns a duplicate 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 BlockEntityStorage
impl Debug for BlockEntityStorage
Source§impl PartialEq for BlockEntityStorage
impl PartialEq for BlockEntityStorage
impl Copy for BlockEntityStorage
impl Eq for BlockEntityStorage
impl StructuralPartialEq for BlockEntityStorage
Auto Trait Implementations§
impl Freeze for BlockEntityStorage
impl RefUnwindSafe for BlockEntityStorage
impl Send for BlockEntityStorage
impl Sync for BlockEntityStorage
impl Unpin for BlockEntityStorage
impl UnwindSafe for BlockEntityStorage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.