pub struct MatchResult {
pub matches: HashSet<PatternId>,
}Expand description
Result of pattern matching.
Fields§
§matches: HashSet<PatternId>Set of matched pattern IDs.
Implementations§
Trait Implementations§
Source§impl Debug for MatchResult
impl Debug for MatchResult
Source§impl Default for MatchResult
impl Default for MatchResult
Source§fn default() -> MatchResult
fn default() -> MatchResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MatchResult
impl RefUnwindSafe for MatchResult
impl Send for MatchResult
impl Sync for MatchResult
impl Unpin for MatchResult
impl UnsafeUnpin for MatchResult
impl UnwindSafe for MatchResult
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