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