pub struct DeclarationPatternObject { /* private fields */ }Expand description
DeclarationPatternObject represents an object binding pattern.
This struct holds a list of bindings, and an optional initializer for the binding pattern.
More information:
Trait Implementations§
Source§impl Clone for DeclarationPatternObject
impl Clone for DeclarationPatternObject
Source§fn clone(&self) -> DeclarationPatternObject
fn clone(&self) -> DeclarationPatternObject
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 DeclarationPatternObject
impl Debug for DeclarationPatternObject
Source§impl Display for DeclarationPatternObject
impl Display for DeclarationPatternObject
Source§impl Drop for DeclarationPatternObject
impl Drop for DeclarationPatternObject
Source§impl PartialEq for DeclarationPatternObject
impl PartialEq for DeclarationPatternObject
Source§impl Trace for DeclarationPatternObject
impl Trace for DeclarationPatternObject
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
impl StructuralPartialEq for DeclarationPatternObject
Auto Trait Implementations§
impl Freeze for DeclarationPatternObject
impl RefUnwindSafe for DeclarationPatternObject
impl !Send for DeclarationPatternObject
impl !Sync for DeclarationPatternObject
impl Unpin for DeclarationPatternObject
impl UnwindSafe for DeclarationPatternObject
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