Struct entmet_lib::entities::entity::Bee
source · pub struct Bee {
pub state: Option<BeeState>,
pub anger_time: i32,
/* private fields */
}Expand description
An instance of a Bee
Fields§
§state: Option<BeeState>The state of the bee
anger_time: i32Time in ticks, how long the bee will still be angry
Trait Implementations§
impl StructuralPartialEq for Bee
Auto Trait Implementations§
impl Freeze for Bee
impl RefUnwindSafe for Bee
impl Send for Bee
impl Sync for Bee
impl Unpin for Bee
impl UnwindSafe for Bee
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