pub enum MatchPat {
Str(String),
Int(i64),
Bool(bool),
Wildcard,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MatchPat
impl RefUnwindSafe for MatchPat
impl Send for MatchPat
impl Sync for MatchPat
impl Unpin for MatchPat
impl UnsafeUnpin for MatchPat
impl UnwindSafe for MatchPat
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