Struct RenderNameTagEvent
pub struct RenderNameTagEvent<'a> {
pub entity_id: u32,
pub kind: &'a str,
pub vanilla_visible: bool,
pub visible: bool,
pub text: &'a mut Option<String>,
}Expand description
What Hooks::render_name_tag is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity_id: u32§kind: &'a str§vanilla_visible: bool§visible: bool§text: &'a mut Option<String>Auto Trait Implementations§
impl<'a> !UnwindSafe for RenderNameTagEvent<'a>
impl<'a> Freeze for RenderNameTagEvent<'a>
impl<'a> RefUnwindSafe for RenderNameTagEvent<'a>
impl<'a> Send for RenderNameTagEvent<'a>
impl<'a> Sync for RenderNameTagEvent<'a>
impl<'a> Unpin for RenderNameTagEvent<'a>
impl<'a> UnsafeUnpin for RenderNameTagEvent<'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