Struct PlayerHarvestCheckEvent
pub struct PlayerHarvestCheckEvent {
pub player: u32,
pub pos: [i32; 3],
pub state: u32,
pub can_harvest: bool,
}Expand description
What Hooks::player_harvest_check is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player: u32§pos: [i32; 3]§state: u32§can_harvest: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for PlayerHarvestCheckEvent
impl RefUnwindSafe for PlayerHarvestCheckEvent
impl Send for PlayerHarvestCheckEvent
impl Sync for PlayerHarvestCheckEvent
impl Unpin for PlayerHarvestCheckEvent
impl UnsafeUnpin for PlayerHarvestCheckEvent
impl UnwindSafe for PlayerHarvestCheckEvent
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