pub struct OptionalMatchClause {
pub patterns: Vec<Pattern>,
}Fields§
§patterns: Vec<Pattern>Trait Implementations§
Source§impl Clone for OptionalMatchClause
impl Clone for OptionalMatchClause
Source§fn clone(&self) -> OptionalMatchClause
fn clone(&self) -> OptionalMatchClause
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 OptionalMatchClause
impl Debug for OptionalMatchClause
Source§impl PartialEq for OptionalMatchClause
impl PartialEq for OptionalMatchClause
impl StructuralPartialEq for OptionalMatchClause
Auto Trait Implementations§
impl Freeze for OptionalMatchClause
impl RefUnwindSafe for OptionalMatchClause
impl Send for OptionalMatchClause
impl Sync for OptionalMatchClause
impl Unpin for OptionalMatchClause
impl UnsafeUnpin for OptionalMatchClause
impl UnwindSafe for OptionalMatchClause
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