Struct LivingBreatheEvent
pub struct LivingBreatheEvent<'a> {
pub entity: u32,
pub kind: &'a str,
pub can_breathe: bool,
pub consume: i32,
pub refill: i32,
}Expand description
What Hooks::living_breathe is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§entity: u32§kind: &'a str§can_breathe: bool§consume: i32§refill: i32Auto Trait Implementations§
impl<'a> Freeze for LivingBreatheEvent<'a>
impl<'a> RefUnwindSafe for LivingBreatheEvent<'a>
impl<'a> Send for LivingBreatheEvent<'a>
impl<'a> Sync for LivingBreatheEvent<'a>
impl<'a> Unpin for LivingBreatheEvent<'a>
impl<'a> UnsafeUnpin for LivingBreatheEvent<'a>
impl<'a> UnwindSafe for LivingBreatheEvent<'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