Struct azalea_block::ChestBlock
source · pub struct ChestBlock {
pub kind: ChestType,
pub facing: FacingCardinal,
pub waterlogged: bool,
}Fields
kind: ChestTypefacing: FacingCardinalwaterlogged: boolTrait Implementations
sourceimpl Block for ChestBlock
impl Block for ChestBlock
sourceimpl Clone for ChestBlock
impl Clone for ChestBlock
sourcefn clone(&self) -> ChestBlock
fn clone(&self) -> ChestBlock
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ChestBlock
impl Debug for ChestBlock
sourceimpl Default for ChestBlock
impl Default for ChestBlock
sourceimpl From<ChestBlock> for BlockState
impl From<ChestBlock> for BlockState
sourcefn from(b: ChestBlock) -> Self
fn from(b: ChestBlock) -> Self
Converts to this type from the input type.
impl Copy for ChestBlock
Auto Trait Implementations
impl RefUnwindSafe for ChestBlock
impl Send for ChestBlock
impl Sync for ChestBlock
impl Unpin for ChestBlock
impl UnwindSafe for ChestBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more