pub enum MappingId<'a, E: ?Sized, M: ?Sized> {
External(&'a E),
Matrix(&'a M),
}
Expand description
An ID being either a Matrix ID or an external ID for one object.
Variants§
External(&'a E)
A reference to the ID of an external object.
Matrix(&'a M)
A refernece to the ID of a Matrix object.
Trait Implementations§
impl<'a, E: Eq + ?Sized, M: Eq + ?Sized> Eq for MappingId<'a, E, M>
impl<'a, E: ?Sized, M: ?Sized> StructuralPartialEq for MappingId<'a, E, M>
Auto Trait Implementations§
impl<'a, E, M> Freeze for MappingId<'a, E, M>
impl<'a, E, M> RefUnwindSafe for MappingId<'a, E, M>
impl<'a, E, M> Send for MappingId<'a, E, M>
impl<'a, E, M> Sync for MappingId<'a, E, M>
impl<'a, E, M> Unpin for MappingId<'a, E, M>
impl<'a, E, M> UnwindSafe for MappingId<'a, E, M>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.