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