pub enum ActivePatternKind {
Total(Vec<String>),
Partial(String),
Parameterised(Vec<String>),
}Expand description
Kind of F# active pattern.
Variants§
Total(Vec<String>)
Total active pattern (|A|B|).
Partial(String)
Partial active pattern (|A|_|).
Parameterised(Vec<String>)
Parameterised active pattern (|A|B|) arg.
Trait Implementations§
Source§impl Clone for ActivePatternKind
impl Clone for ActivePatternKind
Source§fn clone(&self) -> ActivePatternKind
fn clone(&self) -> ActivePatternKind
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 ActivePatternKind
impl Debug for ActivePatternKind
Source§impl PartialEq for ActivePatternKind
impl PartialEq for ActivePatternKind
impl StructuralPartialEq for ActivePatternKind
Auto Trait Implementations§
impl Freeze for ActivePatternKind
impl RefUnwindSafe for ActivePatternKind
impl Send for ActivePatternKind
impl Sync for ActivePatternKind
impl Unpin for ActivePatternKind
impl UnsafeUnpin for ActivePatternKind
impl UnwindSafe for ActivePatternKind
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