pub enum EntityPlace<V> {
Entid(EntidOrIdent),
TempId(ValueRc<TempId>),
LookupRef(LookupRef<V>),
TxFunction(TxFunction),
}Variants§
Trait Implementations§
Source§impl<V: Clone> Clone for EntityPlace<V>
impl<V: Clone> Clone for EntityPlace<V>
Source§fn clone(&self) -> EntityPlace<V>
fn clone(&self) -> EntityPlace<V>
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<V: Debug> Debug for EntityPlace<V>
impl<V: Debug> Debug for EntityPlace<V>
impl<V: Eq> Eq for EntityPlace<V>
Source§impl<V: TransactableValueMarker> From<Arc<TempId>> for EntityPlace<V>
impl<V: TransactableValueMarker> From<Arc<TempId>> for EntityPlace<V>
Source§impl<V, E: Into<EntidOrIdent>> From<E> for EntityPlace<V>
impl<V, E: Into<EntidOrIdent>> From<E> for EntityPlace<V>
Source§impl<V: TransactableValueMarker> From<LookupRef<V>> for EntityPlace<V>
impl<V: TransactableValueMarker> From<LookupRef<V>> for EntityPlace<V>
Source§impl<V: TransactableValueMarker> From<TempId> for EntityPlace<V>
impl<V: TransactableValueMarker> From<TempId> for EntityPlace<V>
Source§impl<V: TransactableValueMarker> From<TxFunction> for EntityPlace<V>
impl<V: TransactableValueMarker> From<TxFunction> for EntityPlace<V>
Source§fn from(v: TxFunction) -> Self
fn from(v: TxFunction) -> Self
Converts to this type from the input type.
Source§impl<V: Hash> Hash for EntityPlace<V>
impl<V: Hash> Hash for EntityPlace<V>
Source§impl<V: Ord> Ord for EntityPlace<V>
impl<V: Ord> Ord for EntityPlace<V>
Source§fn cmp(&self, other: &EntityPlace<V>) -> Ordering
fn cmp(&self, other: &EntityPlace<V>) -> Ordering
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: PartialEq> PartialEq for EntityPlace<V>
impl<V: PartialEq> PartialEq for EntityPlace<V>
Source§fn eq(&self, other: &EntityPlace<V>) -> bool
fn eq(&self, other: &EntityPlace<V>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<V: PartialOrd> PartialOrd for EntityPlace<V>
impl<V: PartialOrd> PartialOrd for EntityPlace<V>
impl<V> StructuralPartialEq for EntityPlace<V>
Auto Trait Implementations§
impl<V> Freeze for EntityPlace<V>where
V: Freeze,
impl<V> RefUnwindSafe for EntityPlace<V>where
V: RefUnwindSafe,
impl<V> Send for EntityPlace<V>where
V: Send,
impl<V> Sync for EntityPlace<V>where
V: Sync,
impl<V> Unpin for EntityPlace<V>where
V: Unpin,
impl<V> UnsafeUnpin for EntityPlace<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for EntityPlace<V>where
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