Struct PlayerNameFormatEvent
pub struct PlayerNameFormatEvent<'a> {
pub username: &'a Text,
pub displayname: &'a mut Text,
}Expand description
What Hooks::player_name_format is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§username: &'a Text§displayname: &'a mut TextAuto Trait Implementations§
impl<'a> !UnwindSafe for PlayerNameFormatEvent<'a>
impl<'a> Freeze for PlayerNameFormatEvent<'a>
impl<'a> RefUnwindSafe for PlayerNameFormatEvent<'a>
impl<'a> Send for PlayerNameFormatEvent<'a>
impl<'a> Sync for PlayerNameFormatEvent<'a>
impl<'a> Unpin for PlayerNameFormatEvent<'a>
impl<'a> UnsafeUnpin for PlayerNameFormatEvent<'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