pub struct SignalFire(pub bool);
Tuple Fields§
§0: bool
Trait Implementations§
Source§impl Clone for SignalFire
impl Clone for SignalFire
Source§fn clone(&self) -> SignalFire
fn clone(&self) -> SignalFire
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SignalFire
impl Debug for SignalFire
Source§impl From<u16> for SignalFire
impl From<u16> for SignalFire
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SignalFire
impl PartialEq for SignalFire
Source§impl Property for SignalFire
impl Property for SignalFire
type Value = bool
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for SignalFire
impl Eq for SignalFire
impl StructuralPartialEq for SignalFire
Auto Trait Implementations§
impl Freeze for SignalFire
impl RefUnwindSafe for SignalFire
impl Send for SignalFire
impl Sync for SignalFire
impl Unpin for SignalFire
impl UnwindSafe for SignalFire
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