pub enum Entity<V> {
AddOrRetract {
op: OpType,
e: EntityPlace<V>,
a: AttributePlace,
v: ValuePlace<V>,
},
MapNotation(MapNotation<V>),
TxFunction {
fun: BuiltinTxFn,
args: Vec<ValuePlace<V>>,
},
}Variants§
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<V: PartialOrd> PartialOrd for Entity<V>
impl<V: PartialOrd> PartialOrd for Entity<V>
impl<V: PartialEq> StructuralPartialEq for Entity<V>
Auto Trait Implementations§
impl<V> Freeze for Entity<V>where
EntityPlace<V>: Freeze,
ValuePlace<V>: Freeze,
BTreeMap<EntidOrIdent, ValuePlace<V>>: Freeze,
Vec<ValuePlace<V>>: Freeze,
impl<V> RefUnwindSafe for Entity<V>where
EntityPlace<V>: RefUnwindSafe,
ValuePlace<V>: RefUnwindSafe,
BTreeMap<EntidOrIdent, ValuePlace<V>>: RefUnwindSafe,
Vec<ValuePlace<V>>: RefUnwindSafe,
impl<V> Send for Entity<V>where
EntityPlace<V>: Send,
ValuePlace<V>: Send,
BTreeMap<EntidOrIdent, ValuePlace<V>>: Send,
Vec<ValuePlace<V>>: Send,
impl<V> Sync for Entity<V>where
EntityPlace<V>: Sync,
ValuePlace<V>: Sync,
BTreeMap<EntidOrIdent, ValuePlace<V>>: Sync,
Vec<ValuePlace<V>>: Sync,
impl<V> Unpin for Entity<V>where
EntityPlace<V>: Unpin,
ValuePlace<V>: Unpin,
BTreeMap<EntidOrIdent, ValuePlace<V>>: Unpin,
Vec<ValuePlace<V>>: Unpin,
impl<V> UnsafeUnpin for Entity<V>where
EntityPlace<V>: UnsafeUnpin,
ValuePlace<V>: UnsafeUnpin,
BTreeMap<EntidOrIdent, ValuePlace<V>>: UnsafeUnpin,
Vec<ValuePlace<V>>: UnsafeUnpin,
impl<V> UnwindSafe for Entity<V>where
EntityPlace<V>: UnwindSafe,
ValuePlace<V>: UnwindSafe,
BTreeMap<EntidOrIdent, ValuePlace<V>>: UnwindSafe,
Vec<ValuePlace<V>>: UnwindSafe,
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