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