Struct azalea_block::DispenserBlock
source · pub struct DispenserBlock {
pub facing: FacingCubic,
pub triggered: bool,
}Fields
facing: FacingCubictriggered: boolTrait Implementations
sourceimpl Block for DispenserBlock
impl Block for DispenserBlock
sourceimpl Clone for DispenserBlock
impl Clone for DispenserBlock
sourcefn clone(&self) -> DispenserBlock
fn clone(&self) -> DispenserBlock
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 DispenserBlock
impl Debug for DispenserBlock
sourceimpl Default for DispenserBlock
impl Default for DispenserBlock
sourceimpl From<DispenserBlock> for BlockState
impl From<DispenserBlock> for BlockState
sourcefn from(b: DispenserBlock) -> Self
fn from(b: DispenserBlock) -> Self
Converts to this type from the input type.
impl Copy for DispenserBlock
Auto Trait Implementations
impl RefUnwindSafe for DispenserBlock
impl Send for DispenserBlock
impl Sync for DispenserBlock
impl Unpin for DispenserBlock
impl UnwindSafe for DispenserBlock
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