Enum entmet_lib::entities::entity::CreeperState
source · #[repr(i8)]pub enum CreeperState {
Idle = -1,
Fuse = 1,
}Expand description
An enum of all creeper states
Variants§
Trait Implementations§
source§impl Default for CreeperState
impl Default for CreeperState
source§fn default() -> CreeperState
fn default() -> CreeperState
Returns the “default value” for a type. Read more
source§impl PartialEq for CreeperState
impl PartialEq for CreeperState
source§fn eq(&self, other: &CreeperState) -> bool
fn eq(&self, other: &CreeperState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreeperState
Auto Trait Implementations§
impl Freeze for CreeperState
impl RefUnwindSafe for CreeperState
impl Send for CreeperState
impl Sync for CreeperState
impl Unpin for CreeperState
impl UnwindSafe for CreeperState
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