pub struct ScreenEvent {
pub screen_class: String,
}Expand description
Fired when a GUI screen opens or closes.
Fields§
§screen_class: StringSimple class name of the screen, e.g. "InventoryScreen", "ChestScreen".
Trait Implementations§
Source§impl Clone for ScreenEvent
impl Clone for ScreenEvent
Source§fn clone(&self) -> ScreenEvent
fn clone(&self) -> ScreenEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScreenEvent
impl RefUnwindSafe for ScreenEvent
impl Send for ScreenEvent
impl Sync for ScreenEvent
impl Unpin for ScreenEvent
impl UnsafeUnpin for ScreenEvent
impl UnwindSafe for ScreenEvent
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