Struct azalea_block::TripwireBlock
source · pub struct TripwireBlock {
pub attached: bool,
pub disarmed: bool,
pub east: bool,
pub north: bool,
pub powered: bool,
pub south: bool,
pub west: bool,
}Fields
attached: booldisarmed: booleast: boolnorth: boolpowered: boolsouth: boolwest: boolTrait Implementations
sourceimpl Block for TripwireBlock
impl Block for TripwireBlock
sourceimpl Clone for TripwireBlock
impl Clone for TripwireBlock
sourcefn clone(&self) -> TripwireBlock
fn clone(&self) -> TripwireBlock
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 TripwireBlock
impl Debug for TripwireBlock
sourceimpl Default for TripwireBlock
impl Default for TripwireBlock
sourceimpl From<TripwireBlock> for BlockState
impl From<TripwireBlock> for BlockState
sourcefn from(b: TripwireBlock) -> Self
fn from(b: TripwireBlock) -> Self
Converts to this type from the input type.
impl Copy for TripwireBlock
Auto Trait Implementations
impl RefUnwindSafe for TripwireBlock
impl Send for TripwireBlock
impl Sync for TripwireBlock
impl Unpin for TripwireBlock
impl UnwindSafe for TripwireBlock
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