pub struct PrefixMatch {
pub matched_bytes: usize,
}
Expand description
This struct represents a successful match against a prefix using either the
InnerNode::optimistic_match_prefix
or InnerNode::match_full_prefix
functions.
Fields§
§matched_bytes: usize
How many bytes were matched
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrefixMatch
impl RefUnwindSafe for PrefixMatch
impl Send for PrefixMatch
impl Sync for PrefixMatch
impl Unpin for PrefixMatch
impl UnwindSafe for PrefixMatch
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