pub enum MetaVariable {
Capture(MetaVariableID, bool),
Dropped(bool),
Multiple,
MultiCapture(MetaVariableID),
}
Variants§
Capture(MetaVariableID, bool)
$A for captured meta var
Dropped(bool)
$_ for non-captured meta var
Multiple
$$$ for non-captured multi var
MultiCapture(MetaVariableID)
$$$A for captured ellipsis
Trait Implementations§
Source§impl Clone for MetaVariable
impl Clone for MetaVariable
Source§fn clone(&self) -> MetaVariable
fn clone(&self) -> MetaVariable
Returns a copy 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 MetaVariable
impl Debug for MetaVariable
Source§impl PartialEq for MetaVariable
impl PartialEq for MetaVariable
impl Eq for MetaVariable
impl StructuralPartialEq for MetaVariable
Auto Trait Implementations§
impl Freeze for MetaVariable
impl RefUnwindSafe for MetaVariable
impl Send for MetaVariable
impl Sync for MetaVariable
impl Unpin for MetaVariable
impl UnwindSafe for MetaVariable
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