pub struct EntityPredicate {
pub entity_type: Option<Identifier>,
pub flags: Option<EntityFlags>,
pub equipment: Option<EntityEquipment>,
}Expand description
Predicate for checking entity properties.
Fields§
§entity_type: Option<Identifier>§flags: Option<EntityFlags>§equipment: Option<EntityEquipment>Trait Implementations§
Source§impl Clone for EntityPredicate
impl Clone for EntityPredicate
Source§fn clone(&self) -> EntityPredicate
fn clone(&self) -> EntityPredicate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EntityPredicate
impl RefUnwindSafe for EntityPredicate
impl Send for EntityPredicate
impl Sync for EntityPredicate
impl Unpin for EntityPredicate
impl UnsafeUnpin for EntityPredicate
impl UnwindSafe for EntityPredicate
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