pub enum KeyLookup {
Named(&'static [&'static str]),
Numbered(NonZero<usize>),
Homogeneous(NonZero<usize>),
}
Expand description
Data to look up field names and convert to indices
This struct used together with crate::TreeKey
.
Variants§
Named(&'static [&'static str])
Named children
Numbered(NonZero<usize>)
Numbered heterogeneous children
Homogeneous(NonZero<usize>)
Homogeneous numbered children
Implementations§
Trait Implementations§
source§impl PartialOrd for KeyLookup
impl PartialOrd for KeyLookup
impl StructuralPartialEq for KeyLookup
Auto Trait Implementations§
impl Freeze for KeyLookup
impl RefUnwindSafe for KeyLookup
impl Send for KeyLookup
impl Sync for KeyLookup
impl Unpin for KeyLookup
impl UnwindSafe for KeyLookup
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)