pub enum CaptureOutput {
Text,
Node,
Full,
}Expand description
Controls what data is captured for each query match.
Variants§
Text
Capture only the matched text.
Node
Capture only the NodeInfo.
Full
Capture both text and NodeInfo (default).
Trait Implementations§
Source§impl Clone for CaptureOutput
impl Clone for CaptureOutput
Source§fn clone(&self) -> CaptureOutput
fn clone(&self) -> CaptureOutput
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 CaptureOutput
impl Debug for CaptureOutput
Source§impl Default for CaptureOutput
impl Default for CaptureOutput
Source§fn default() -> CaptureOutput
fn default() -> CaptureOutput
Returns the “default value” for a type. Read more
Source§impl Hash for CaptureOutput
impl Hash for CaptureOutput
Source§impl PartialEq for CaptureOutput
impl PartialEq for CaptureOutput
impl Eq for CaptureOutput
impl StructuralPartialEq for CaptureOutput
Auto Trait Implementations§
impl Freeze for CaptureOutput
impl RefUnwindSafe for CaptureOutput
impl Send for CaptureOutput
impl Sync for CaptureOutput
impl Unpin for CaptureOutput
impl UnsafeUnpin for CaptureOutput
impl UnwindSafe for CaptureOutput
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