Struct hyperscan_sys::chimera::ch_capture
source · [−]#[repr(C)]pub struct ch_capture {
pub flags: c_uint,
pub from: c_ulonglong,
pub to: c_ulonglong,
}
Expand description
Structure representing a captured subexpression within a match. An array of these structures corresponding to capture groups in order is passed to the callback on match, with active structures identified by the CH_CAPTURE_FLAG_ACTIVE flag.
Fields
flags: c_uint
The flags indicating if this structure is active.
from: c_ulonglong
offset at which this capture group begins.
to: c_ulonglong
offset at which this capture group ends.
Trait Implementations
sourceimpl Clone for ch_capture
impl Clone for ch_capture
sourcefn clone(&self) -> ch_capture
fn clone(&self) -> ch_capture
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 moresourceimpl Debug for ch_capture
impl Debug for ch_capture
sourceimpl Default for ch_capture
impl Default for ch_capture
sourcefn default() -> ch_capture
fn default() -> ch_capture
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ch_capture> for ch_capture
impl PartialEq<ch_capture> for ch_capture
sourcefn eq(&self, other: &ch_capture) -> bool
fn eq(&self, other: &ch_capture) -> bool
impl Copy for ch_capture
impl Eq for ch_capture
impl StructuralEq for ch_capture
impl StructuralPartialEq for ch_capture
Auto Trait Implementations
impl RefUnwindSafe for ch_capture
impl Send for ch_capture
impl Sync for ch_capture
impl Unpin for ch_capture
impl UnwindSafe for ch_capture
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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