pub enum InsertResult<G, L> {
Hit {
global_id: G,
},
Inserted {
local_id: L,
},
}Variants§
Trait Implementations§
impl<G: Copy, L: Copy> Copy for InsertResult<G, L>
impl<G: Eq, L: Eq> Eq for InsertResult<G, L>
impl<G: PartialEq, L: PartialEq> StructuralPartialEq for InsertResult<G, L>
Auto Trait Implementations§
impl<G, L> Freeze for InsertResult<G, L>
impl<G, L> RefUnwindSafe for InsertResult<G, L>where
G: RefUnwindSafe,
L: RefUnwindSafe,
impl<G, L> Send for InsertResult<G, L>
impl<G, L> Sync for InsertResult<G, L>
impl<G, L> Unpin for InsertResult<G, L>
impl<G, L> UnsafeUnpin for InsertResult<G, L>where
G: UnsafeUnpin,
L: UnsafeUnpin,
impl<G, L> UnwindSafe for InsertResult<G, L>where
G: UnwindSafe,
L: 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<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.