Enum tree_sitter::CaptureQuantifier
source · [−]pub enum CaptureQuantifier {
Zero,
ZeroOrOne,
ZeroOrMore,
One,
OneOrMore,
}
Expand description
A quantifier for captures
Variants
Zero
ZeroOrOne
ZeroOrMore
One
OneOrMore
Trait Implementations
sourceimpl Clone for CaptureQuantifier
impl Clone for CaptureQuantifier
sourcefn clone(&self) -> CaptureQuantifier
fn clone(&self) -> CaptureQuantifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CaptureQuantifier
impl Debug for CaptureQuantifier
sourceimpl From<u32> for CaptureQuantifier
impl From<u32> for CaptureQuantifier
impl Copy for CaptureQuantifier
impl Eq for CaptureQuantifier
impl StructuralEq for CaptureQuantifier
impl StructuralPartialEq for CaptureQuantifier
Auto Trait Implementations
impl RefUnwindSafe for CaptureQuantifier
impl Send for CaptureQuantifier
impl Sync for CaptureQuantifier
impl Unpin for CaptureQuantifier
impl UnwindSafe for CaptureQuantifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more