Struct azalea_block::DaylightDetectorBlock
source · pub struct DaylightDetectorBlock {
pub inverted: bool,
pub power: DaylightDetectorPower,
}
Fields§
§inverted: bool
§power: DaylightDetectorPower
Trait Implementations§
source§impl Block for DaylightDetectorBlock
impl Block for DaylightDetectorBlock
fn behavior(&self) -> BlockBehavior
fn id(&self) -> &'static str
fn as_blockstate(&self) -> BlockState
source§impl Clone for DaylightDetectorBlock
impl Clone for DaylightDetectorBlock
source§fn clone(&self) -> DaylightDetectorBlock
fn clone(&self) -> DaylightDetectorBlock
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 DaylightDetectorBlock
impl Debug for DaylightDetectorBlock
source§impl Default for DaylightDetectorBlock
impl Default for DaylightDetectorBlock
source§impl From<DaylightDetectorBlock> for BlockState
impl From<DaylightDetectorBlock> for BlockState
source§fn from(b: DaylightDetectorBlock) -> Self
fn from(b: DaylightDetectorBlock) -> Self
Converts to this type from the input type.