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