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