pub struct RecordPatternField {
pub name: Name,
pub pattern: Pattern,
pub default: Option<Expr>,
}Fields§
§name: Name§pattern: Pattern§default: Option<Expr>Trait Implementations§
Source§impl Clone for RecordPatternField
impl Clone for RecordPatternField
Source§fn clone(&self) -> RecordPatternField
fn clone(&self) -> RecordPatternField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecordPatternField
impl Debug for RecordPatternField
Source§impl PartialEq for RecordPatternField
impl PartialEq for RecordPatternField
Source§fn eq(&self, other: &RecordPatternField) -> bool
fn eq(&self, other: &RecordPatternField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RecordPatternField
impl StructuralPartialEq for RecordPatternField
Auto Trait Implementations§
impl Freeze for RecordPatternField
impl RefUnwindSafe for RecordPatternField
impl Send for RecordPatternField
impl Sync for RecordPatternField
impl Unpin for RecordPatternField
impl UnsafeUnpin for RecordPatternField
impl UnwindSafe for RecordPatternField
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