pub enum MatchOrigin {
Explicit,
IfLet {
else_span: Option<Span>,
},
}Variants§
Trait Implementations§
Source§impl Clone for MatchOrigin
impl Clone for MatchOrigin
Source§fn clone(&self) -> MatchOrigin
fn clone(&self) -> MatchOrigin
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 moreSource§impl Debug for MatchOrigin
impl Debug for MatchOrigin
Source§impl PartialEq for MatchOrigin
impl PartialEq for MatchOrigin
impl Copy for MatchOrigin
impl Eq for MatchOrigin
impl StructuralPartialEq for MatchOrigin
Auto Trait Implementations§
impl Freeze for MatchOrigin
impl RefUnwindSafe for MatchOrigin
impl Send for MatchOrigin
impl Sync for MatchOrigin
impl Unpin for MatchOrigin
impl UnsafeUnpin for MatchOrigin
impl UnwindSafe for MatchOrigin
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