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