Struct ModContainerViewersEvent
pub struct ModContainerViewersEvent<'a> {
pub dimension: &'a str,
pub pos: [i32; 3],
pub viewers: u32,
pub previous: u32,
}Expand description
What Hooks::mod_container_viewers is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: &'a str§pos: [i32; 3]§viewers: u32§previous: u32Auto Trait Implementations§
impl<'a> Freeze for ModContainerViewersEvent<'a>
impl<'a> RefUnwindSafe for ModContainerViewersEvent<'a>
impl<'a> Send for ModContainerViewersEvent<'a>
impl<'a> Sync for ModContainerViewersEvent<'a>
impl<'a> Unpin for ModContainerViewersEvent<'a>
impl<'a> UnsafeUnpin for ModContainerViewersEvent<'a>
impl<'a> UnwindSafe for ModContainerViewersEvent<'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