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