pub enum IrCasePattern {
EnumVariant(String),
LiteralString(String),
Agent(String),
OptionalSome {
binding: String,
},
OptionalNone,
Wildcard,
}Variants§
Trait Implementations§
Source§impl Clone for IrCasePattern
impl Clone for IrCasePattern
Source§fn clone(&self) -> IrCasePattern
fn clone(&self) -> IrCasePattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IrCasePattern
impl Debug for IrCasePattern
impl Eq for IrCasePattern
Source§impl PartialEq for IrCasePattern
impl PartialEq for IrCasePattern
impl StructuralPartialEq for IrCasePattern
Auto Trait Implementations§
impl Freeze for IrCasePattern
impl RefUnwindSafe for IrCasePattern
impl Send for IrCasePattern
impl Sync for IrCasePattern
impl Unpin for IrCasePattern
impl UnsafeUnpin for IrCasePattern
impl UnwindSafe for IrCasePattern
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