Struct entmet_lib::entities::entity::Guardian
source · pub struct Guardian {
pub restracting_spikes: bool,
pub target_eid: Option<i32>,
/* private fields */
}Expand description
An instance of a Guardian
Fields§
§restracting_spikes: boolWhether it is retracting its spikes or not
target_eid: Option<i32>The id of its target
Trait Implementations§
source§impl PartialEq for Guardian
impl PartialEq for Guardian
impl StructuralPartialEq for Guardian
Auto Trait Implementations§
impl Freeze for Guardian
impl RefUnwindSafe for Guardian
impl Send for Guardian
impl Sync for Guardian
impl Unpin for Guardian
impl UnwindSafe for Guardian
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