pub enum EntryKey {
Literal(String),
Dynamic(AbstractString),
}Expand description
A mapping key: literal text, or a templated key whose text is only partially known.
Variants§
Literal(String)
A plain literal key (unquoted).
Dynamic(AbstractString)
A templated key. Projections attribute the entry’s value at the structural dynamic-member path without guessing its rendered key; the key’s own splices are recorded as pathless reads at the eval site, where the ambient range/branch predicates are still known.
Trait Implementations§
impl Eq for EntryKey
impl StructuralPartialEq for EntryKey
Auto Trait Implementations§
impl !Send for EntryKey
impl !Sync for EntryKey
impl Freeze for EntryKey
impl RefUnwindSafe for EntryKey
impl Unpin for EntryKey
impl UnsafeUnpin for EntryKey
impl UnwindSafe for EntryKey
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.