pub struct BambooStairs {
pub facing: FacingCardinal,
pub half: TopBottom,
pub shape: StairShape,
pub waterlogged: bool,
}
Fields§
§facing: FacingCardinal
§half: TopBottom
§shape: StairShape
§waterlogged: bool
Trait Implementations§
Source§impl BlockTrait for BambooStairs
impl BlockTrait for BambooStairs
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 BambooStairs
impl Clone for BambooStairs
Source§fn clone(&self) -> BambooStairs
fn clone(&self) -> BambooStairs
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 BambooStairs
impl Debug for BambooStairs
Source§impl Default for BambooStairs
impl Default for BambooStairs
Source§impl From<BambooStairs> for BlockState
impl From<BambooStairs> for BlockState
Source§fn from(b: BambooStairs) -> Self
fn from(b: BambooStairs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BambooStairs
impl PartialEq for BambooStairs
impl Copy for BambooStairs
impl StructuralPartialEq for BambooStairs
Auto Trait Implementations§
impl Freeze for BambooStairs
impl RefUnwindSafe for BambooStairs
impl Send for BambooStairs
impl Sync for BambooStairs
impl Unpin for BambooStairs
impl UnwindSafe for BambooStairs
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