Struct entmet_lib::entities::entity::Creeper
source · pub struct Creeper {
pub state: CreeperState,
pub charged: bool,
pub ignited: bool,
/* private fields */
}Expand description
An instance of a creeper
Fields§
§state: CreeperStateThe state of the creeper
charged: boolWhether it is charging or not
ignited: boolWhether it is ignited or not
Trait Implementations§
source§impl PartialEq for Creeper
impl PartialEq for Creeper
impl StructuralPartialEq for Creeper
Auto Trait Implementations§
impl Freeze for Creeper
impl RefUnwindSafe for Creeper
impl Send for Creeper
impl Sync for Creeper
impl Unpin for Creeper
impl UnwindSafe for Creeper
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