Struct BlockEntityEvent
pub struct BlockEntityEvent<'a> {
pub block: &'a str,
pub state: BlockState,
}Expand description
What BlockEntityPart::block_entity is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§block: &'a str§state: BlockStateAuto Trait Implementations§
impl<'a> Freeze for BlockEntityEvent<'a>
impl<'a> RefUnwindSafe for BlockEntityEvent<'a>
impl<'a> Send for BlockEntityEvent<'a>
impl<'a> Sync for BlockEntityEvent<'a>
impl<'a> Unpin for BlockEntityEvent<'a>
impl<'a> UnsafeUnpin for BlockEntityEvent<'a>
impl<'a> UnwindSafe for BlockEntityEvent<'a>
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