pub enum KeyValue {
Literal(LiteralValue),
Binding(BindingArg),
PassThrough,
Unknown,
}Variants§
Literal(LiteralValue)
A literal value.
Binding(BindingArg)
An immutable binding.
PassThrough
A self-call passes the unchanged binding of the same key of the same
object-pattern parameter, at the same position:
walk(node, { depth }) inside walk(node, { depth }).
Unknown
Each other value, a method, a getter or a setter.
Trait Implementations§
impl<'__de> Decode<'__de> for KeyValuewhere
'__de:,
impl Encode for KeyValue
impl Eq for KeyValue
impl StructuralPartialEq for KeyValue
Auto Trait Implementations§
impl Forget for KeyValue
impl Freeze for KeyValue
impl Move for KeyValue
impl RefUnwindSafe for KeyValue
impl Send for KeyValue
impl Sync for KeyValue
impl Unpin for KeyValue
impl UnsafeUnpin for KeyValue
impl UnwindSafe for KeyValue
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,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
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.