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