Struct RenderTooltipTextureEvent
pub struct RenderTooltipTextureEvent<'a> {
pub stack: Option<&'a ItemStack>,
pub texture: &'a mut Option<Identifier>,
pub background: u32,
pub border_top: u32,
pub border_bottom: u32,
}Expand description
What Hooks::render_tooltip_texture is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§stack: Option<&'a ItemStack>§texture: &'a mut Option<Identifier>§background: u32§border_top: u32§border_bottom: u32Auto Trait Implementations§
impl<'a> !UnwindSafe for RenderTooltipTextureEvent<'a>
impl<'a> Freeze for RenderTooltipTextureEvent<'a>
impl<'a> RefUnwindSafe for RenderTooltipTextureEvent<'a>
impl<'a> Send for RenderTooltipTextureEvent<'a>
impl<'a> Sync for RenderTooltipTextureEvent<'a>
impl<'a> Unpin for RenderTooltipTextureEvent<'a>
impl<'a> UnsafeUnpin for RenderTooltipTextureEvent<'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