Struct EntityBreedEvent
pub struct EntityBreedEvent {
pub parent: u32,
pub partner: u32,
pub child: Option<u32>,
}Expand description
What Hooks::entity_breed is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§parent: u32§partner: u32§child: Option<u32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntityBreedEvent
impl RefUnwindSafe for EntityBreedEvent
impl Send for EntityBreedEvent
impl Sync for EntityBreedEvent
impl Unpin for EntityBreedEvent
impl UnsafeUnpin for EntityBreedEvent
impl UnwindSafe for EntityBreedEvent
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