pub struct MatchClause {
pub optional: bool,
pub mode: Option<MatchMode>,
pub patterns: Vec<PathPattern>,
pub keep: Option<PathPatternPrefix>,
pub where_clause: Option<Expr>,
pub yield_clause: Option<YieldClause>,
}Fields§
§optional: bool§mode: Option<MatchMode>§patterns: Vec<PathPattern>§keep: Option<PathPatternPrefix>§where_clause: Option<Expr>§yield_clause: Option<YieldClause>Trait Implementations§
Source§impl Clone for MatchClause
impl Clone for MatchClause
Source§impl Debug for MatchClause
impl Debug for MatchClause
Source§impl PartialEq for MatchClause
impl PartialEq for MatchClause
impl StructuralPartialEq for MatchClause
Auto Trait Implementations§
impl Freeze for MatchClause
impl RefUnwindSafe for MatchClause
impl Send for MatchClause
impl Sync for MatchClause
impl Unpin for MatchClause
impl UnsafeUnpin for MatchClause
impl UnwindSafe for MatchClause
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