pub struct PatternRow {
pub patterns: Vec<Pat>,
pub guard: Option<Local>,
pub arm_index: usize,
}Expand description
A row in the pattern matrix
Fields§
§patterns: Vec<Pat>§guard: Option<Local>§arm_index: usizeTrait Implementations§
Source§impl Clone for PatternRow
impl Clone for PatternRow
Source§fn clone(&self) -> PatternRow
fn clone(&self) -> PatternRow
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 moreAuto Trait Implementations§
impl Freeze for PatternRow
impl RefUnwindSafe for PatternRow
impl Send for PatternRow
impl Sync for PatternRow
impl Unpin for PatternRow
impl UnwindSafe for PatternRow
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