Struct azalea_block::MovingPistonBlock
source · pub struct MovingPistonBlock {
pub kind: PistonType,
pub facing: FacingCubic,
}Fields
kind: PistonTypefacing: FacingCubicTrait Implementations
sourceimpl Block for MovingPistonBlock
impl Block for MovingPistonBlock
sourceimpl Clone for MovingPistonBlock
impl Clone for MovingPistonBlock
sourcefn clone(&self) -> MovingPistonBlock
fn clone(&self) -> MovingPistonBlock
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 MovingPistonBlock
impl Debug for MovingPistonBlock
sourceimpl Default for MovingPistonBlock
impl Default for MovingPistonBlock
sourceimpl From<MovingPistonBlock> for BlockState
impl From<MovingPistonBlock> for BlockState
sourcefn from(b: MovingPistonBlock) -> Self
fn from(b: MovingPistonBlock) -> Self
Converts to this type from the input type.
impl Copy for MovingPistonBlock
Auto Trait Implementations
impl RefUnwindSafe for MovingPistonBlock
impl Send for MovingPistonBlock
impl Sync for MovingPistonBlock
impl Unpin for MovingPistonBlock
impl UnwindSafe for MovingPistonBlock
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