pub enum PushReaction {
Normal,
Destroy,
Block,
Ignore,
PushOnly,
}Expand description
How a block reacts when pushed by a piston.
Variants§
Trait Implementations§
Source§impl Clone for PushReaction
impl Clone for PushReaction
Source§fn clone(&self) -> PushReaction
fn clone(&self) -> PushReaction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PushReaction
Auto Trait Implementations§
impl Freeze for PushReaction
impl RefUnwindSafe for PushReaction
impl Send for PushReaction
impl Sync for PushReaction
impl Unpin for PushReaction
impl UnsafeUnpin for PushReaction
impl UnwindSafe for PushReaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more