Struct ScreenEvent
pub struct ScreenEvent<'a> {
pub block: &'a str,
}Expand description
What BlockEntityPart::screen 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 ScreenEvent<'a>
impl<'a> RefUnwindSafe for ScreenEvent<'a>
impl<'a> Send for ScreenEvent<'a>
impl<'a> Sync for ScreenEvent<'a>
impl<'a> Unpin for ScreenEvent<'a>
impl<'a> UnsafeUnpin for ScreenEvent<'a>
impl<'a> UnwindSafe for ScreenEvent<'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