Struct entmet_lib::entities::entity::FishingHook
source · pub struct FishingHook {
pub hooked_entity: Option<i32>,
pub is_catchable: bool,
/* private fields */
}Expand description
An instance of a fishing hook
Fields§
§hooked_entity: Option<i32>The id of the hooked entity
is_catchable: boolWhether it is currently catchable or not
Trait Implementations§
source§impl Default for FishingHook
impl Default for FishingHook
source§impl Deref for FishingHook
impl Deref for FishingHook
Auto Trait Implementations§
impl Freeze for FishingHook
impl RefUnwindSafe for FishingHook
impl Send for FishingHook
impl Sync for FishingHook
impl Unpin for FishingHook
impl UnwindSafe for FishingHook
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