pub struct RedCandleCake {
pub lit: bool,
}
Fields§
§lit: bool
Trait Implementations§
Source§impl BlockTrait for RedCandleCake
impl BlockTrait for RedCandleCake
fn behavior(&self) -> BlockBehavior
Source§fn as_block_state(&self) -> BlockState
fn as_block_state(&self) -> BlockState
Convert the block to a block state. Read more
Source§fn as_registry_block(&self) -> Block
fn as_registry_block(&self) -> Block
Convert the block to an
azalea_registry::Block
. Read moreSource§impl Clone for RedCandleCake
impl Clone for RedCandleCake
Source§fn clone(&self) -> RedCandleCake
fn clone(&self) -> RedCandleCake
Returns a duplicate 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 RedCandleCake
impl Debug for RedCandleCake
Source§impl Default for RedCandleCake
impl Default for RedCandleCake
Source§impl From<RedCandleCake> for BlockState
impl From<RedCandleCake> for BlockState
Source§fn from(b: RedCandleCake) -> Self
fn from(b: RedCandleCake) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RedCandleCake
impl PartialEq for RedCandleCake
impl Copy for RedCandleCake
impl StructuralPartialEq for RedCandleCake
Auto Trait Implementations§
impl Freeze for RedCandleCake
impl RefUnwindSafe for RedCandleCake
impl Send for RedCandleCake
impl Sync for RedCandleCake
impl Unpin for RedCandleCake
impl UnwindSafe for RedCandleCake
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