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