Struct GatherEffectScreenTooltipsEvent
pub struct GatherEffectScreenTooltipsEvent<'a> {
pub screen: &'a ScreenView<'a>,
pub effect: &'a ActiveEffect,
pub tooltip: &'a mut Vec<(Text, u32)>,
}Expand description
What Hooks::gather_effect_screen_tooltips is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§screen: &'a ScreenView<'a>§effect: &'a ActiveEffect§tooltip: &'a mut Vec<(Text, u32)>Auto Trait Implementations§
impl<'a> !UnwindSafe for GatherEffectScreenTooltipsEvent<'a>
impl<'a> Freeze for GatherEffectScreenTooltipsEvent<'a>
impl<'a> RefUnwindSafe for GatherEffectScreenTooltipsEvent<'a>
impl<'a> Send for GatherEffectScreenTooltipsEvent<'a>
impl<'a> Sync for GatherEffectScreenTooltipsEvent<'a>
impl<'a> Unpin for GatherEffectScreenTooltipsEvent<'a>
impl<'a> UnsafeUnpin for GatherEffectScreenTooltipsEvent<'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