pub struct FieldPattern {
pub name: Ident,
pub pattern: Pattern,
pub span: Span,
}Fields§
§name: Ident§pattern: Pattern§span: SpanTrait Implementations§
Source§impl Clone for FieldPattern
impl Clone for FieldPattern
Source§fn clone(&self) -> FieldPattern
fn clone(&self) -> FieldPattern
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 FieldPattern
impl Debug for FieldPattern
Source§impl PartialEq for FieldPattern
impl PartialEq for FieldPattern
impl StructuralPartialEq for FieldPattern
Auto Trait Implementations§
impl Freeze for FieldPattern
impl RefUnwindSafe for FieldPattern
impl Send for FieldPattern
impl Sync for FieldPattern
impl Unpin for FieldPattern
impl UnwindSafe for FieldPattern
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