pub struct MelonStem {
pub age: MelonStemAge,
}
Fields§
§age: MelonStemAge
Trait Implementations§
Source§impl BlockTrait for MelonStem
impl BlockTrait for MelonStem
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 From<MelonStem> for BlockState
impl From<MelonStem> for BlockState
impl Copy for MelonStem
impl StructuralPartialEq for MelonStem
Auto Trait Implementations§
impl Freeze for MelonStem
impl RefUnwindSafe for MelonStem
impl Send for MelonStem
impl Sync for MelonStem
impl Unpin for MelonStem
impl UnwindSafe for MelonStem
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