pub enum Entity<V> {
AddOrRetract {
op: OpType,
e: EntityPlace<V>,
a: AttributePlace,
v: ValuePlace<V>,
},
MapNotation(MapNotation<V>),
}Variants§
AddOrRetract
MapNotation(MapNotation<V>)
Trait Implementations§
impl<V: Eq> Eq for Entity<V>
Source§impl<V: Ord> Ord for Entity<V>
impl<V: Ord> Ord for Entity<V>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<V: PartialOrd> PartialOrd for Entity<V>
impl<V: PartialOrd> PartialOrd for Entity<V>
impl<V> StructuralPartialEq for Entity<V>
Auto Trait Implementations§
impl<V> Freeze for Entity<V>where
V: Freeze,
impl<V> RefUnwindSafe for Entity<V>where
V: RefUnwindSafe,
impl<V> Send for Entity<V>where
V: Send,
impl<V> Sync for Entity<V>where
V: Sync,
impl<V> Unpin for Entity<V>where
V: Unpin,
impl<V> UnsafeUnpin for Entity<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Entity<V>where
V: UnwindSafe + RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more