pub enum KeySegment {
Key(String),
Index(usize),
}Variants§
Trait Implementations§
Source§impl Clone for KeySegment
impl Clone for KeySegment
Source§impl Debug for KeySegment
impl Debug for KeySegment
impl Eq for KeySegment
Source§impl PartialEq for KeySegment
impl PartialEq for KeySegment
impl StructuralPartialEq for KeySegment
Auto Trait Implementations§
impl Forget for KeySegment
impl Freeze for KeySegment
impl Move for KeySegment
impl RefUnwindSafe for KeySegment
impl Send for KeySegmentwhere
RawVecInner: Send,
impl Sync for KeySegmentwhere
RawVecInner: Sync,
impl Unpin for KeySegment
impl UnsafeUnpin for KeySegment
impl UnwindSafe for KeySegmentwhere
RawVecInner: 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§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.