pub enum ObjectBindPatternEntry {
KeyOnly(Identifier),
ValueOnly(Box<Query>, Box<BindPattern>),
KeyAndValue(Identifier, Box<BindPattern>),
}Variants§
KeyOnly(Identifier)
<variable>
ValueOnly(Box<Query>, Box<BindPattern>)
(<ident> | <keyword> | <string> | '(' <query> ')') ':' pattern
KeyAndValue(Identifier, Box<BindPattern>)
<variable> ':' pattern
Trait Implementations§
Source§impl Clone for ObjectBindPatternEntry
impl Clone for ObjectBindPatternEntry
Source§fn clone(&self) -> ObjectBindPatternEntry
fn clone(&self) -> ObjectBindPatternEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectBindPatternEntry
impl Debug for ObjectBindPatternEntry
Source§impl PartialEq for ObjectBindPatternEntry
impl PartialEq for ObjectBindPatternEntry
impl Eq for ObjectBindPatternEntry
impl StructuralPartialEq for ObjectBindPatternEntry
Auto Trait Implementations§
impl Freeze for ObjectBindPatternEntry
impl RefUnwindSafe for ObjectBindPatternEntry
impl Send for ObjectBindPatternEntry
impl Sync for ObjectBindPatternEntry
impl Unpin for ObjectBindPatternEntry
impl UnwindSafe for ObjectBindPatternEntry
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