#[repr(C)]pub struct BinpatStats {
pub total: usize,
pub anchors: usize,
}Expand description
The compiled length and anchor count of a pattern, returned by value from binpat_stats.
Fields§
§total: usizeCompiled byte length of the pattern.
anchors: usizeCount of concrete (non-wildcard) bytes; 0 means nothing to match on.
Trait Implementations§
Source§impl ExternType for BinpatStats
impl ExternType for BinpatStats
Auto Trait Implementations§
impl Freeze for BinpatStats
impl RefUnwindSafe for BinpatStats
impl Send for BinpatStats
impl Sync for BinpatStats
impl Unpin for BinpatStats
impl UnsafeUnpin for BinpatStats
impl UnwindSafe for BinpatStats
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