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