pub struct EntityPredicateFragment {
pub entity_type: Option<NamespacedId>,
pub nbt: Option<String>,
pub team: Option<String>,
pub flags: Option<EntityPredicateFlags>,
pub distance: Option<DistancePredicateFragment<f32>>,
pub effects: HashMap<NamespacedId, EntityPredicateEffect>,
pub equipment: Option<EntityPredicateEquipment>,
pub location: Option<LocationPredicateFragment>,
pub vehicle: Option<Box<EntityPredicateFragment>>,
pub player: Option<PlayerPredicateFragment>,
}Fields§
§entity_type: Option<NamespacedId>§nbt: Option<String>§team: Option<String>§flags: Option<EntityPredicateFlags>§distance: Option<DistancePredicateFragment<f32>>§effects: HashMap<NamespacedId, EntityPredicateEffect>§equipment: Option<EntityPredicateEquipment>§location: Option<LocationPredicateFragment>§vehicle: Option<Box<EntityPredicateFragment>>§player: Option<PlayerPredicateFragment>Trait Implementations§
Source§impl Clone for EntityPredicateFragment
impl Clone for EntityPredicateFragment
Source§fn clone(&self) -> EntityPredicateFragment
fn clone(&self) -> EntityPredicateFragment
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 moreSource§impl Debug for EntityPredicateFragment
impl Debug for EntityPredicateFragment
Source§impl<'de> Deserialize<'de> for EntityPredicateFragment
impl<'de> Deserialize<'de> for EntityPredicateFragment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EntityPredicateFragment
impl PartialEq for EntityPredicateFragment
Source§fn eq(&self, other: &EntityPredicateFragment) -> bool
fn eq(&self, other: &EntityPredicateFragment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EntityPredicateFragment
impl Serialize for EntityPredicateFragment
impl StructuralPartialEq for EntityPredicateFragment
Auto Trait Implementations§
impl Freeze for EntityPredicateFragment
impl RefUnwindSafe for EntityPredicateFragment
impl Send for EntityPredicateFragment
impl Sync for EntityPredicateFragment
impl Unpin for EntityPredicateFragment
impl UnsafeUnpin for EntityPredicateFragment
impl UnwindSafe for EntityPredicateFragment
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