pub struct IronBars {
pub east: bool,
pub north: bool,
pub south: bool,
pub waterlogged: bool,
pub west: bool,
}
Fields§
§east: bool
§north: bool
§south: bool
§waterlogged: bool
§west: bool
Trait Implementations§
Source§impl BlockTrait for IronBars
impl BlockTrait for IronBars
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<IronBars> for BlockState
impl From<IronBars> for BlockState
impl Copy for IronBars
impl StructuralPartialEq for IronBars
Auto Trait Implementations§
impl Freeze for IronBars
impl RefUnwindSafe for IronBars
impl Send for IronBars
impl Sync for IronBars
impl Unpin for IronBars
impl UnwindSafe for IronBars
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