Struct EntityEnterLoveModeEvent
pub struct EntityEnterLoveModeEvent<'a> {
pub entity: u32,
pub kind: &'a str,
pub player: Option<u128>,
}Expand description
What Hooks::entity_enter_love_mode 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§player: Option<u128>Auto Trait Implementations§
impl<'a> Freeze for EntityEnterLoveModeEvent<'a>
impl<'a> RefUnwindSafe for EntityEnterLoveModeEvent<'a>
impl<'a> Send for EntityEnterLoveModeEvent<'a>
impl<'a> Sync for EntityEnterLoveModeEvent<'a>
impl<'a> Unpin for EntityEnterLoveModeEvent<'a>
impl<'a> UnsafeUnpin for EntityEnterLoveModeEvent<'a>
impl<'a> UnwindSafe for EntityEnterLoveModeEvent<'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