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