Struct PlayerTabListNameFormatEvent
pub struct PlayerTabListNameFormatEvent<'a> {
pub player: u128,
pub name: &'a str,
pub display_name: &'a mut Option<Text>,
}Expand description
What Hooks::player_tab_list_name_format 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§display_name: &'a mut Option<Text>Auto Trait Implementations§
impl<'a> !UnwindSafe for PlayerTabListNameFormatEvent<'a>
impl<'a> Freeze for PlayerTabListNameFormatEvent<'a>
impl<'a> RefUnwindSafe for PlayerTabListNameFormatEvent<'a>
impl<'a> Send for PlayerTabListNameFormatEvent<'a>
impl<'a> Sync for PlayerTabListNameFormatEvent<'a>
impl<'a> Unpin for PlayerTabListNameFormatEvent<'a>
impl<'a> UnsafeUnpin for PlayerTabListNameFormatEvent<'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