pub struct ByteSet(/* private fields */);Expand description
See byteset()
Trait Implementations§
source§impl Pattern for ByteSet
impl Pattern for ByteSet
source§fn test<'i>(&self, input: &'i [u8]) -> Option<Matches<'i, 1>>
fn test<'i>(&self, input: &'i [u8]) -> Option<Matches<'i, 1>>
Tests the pattern against the input slice. If the pattern matches, the matching part is
returned along with what is left of the input. Returns
None if the pattern does not matchsource§fn or<P>(self, other: P) -> Or<Self, P>where
Self: Sized,
fn or<P>(self, other: P) -> Or<Self, P>where
Self: Sized,
Expresses an alternate pattern. Read more
source§fn and<P>(self, next: P) -> And<Self, P>where
Self: Sized,
fn and<P>(self, next: P) -> And<Self, P>where
Self: Sized,
Expreses a sequence of patterns Read more
impl Copy for ByteSet
Auto Trait Implementations§
impl RefUnwindSafe for ByteSet
impl Send for ByteSet
impl Sync for ByteSet
impl Unpin for ByteSet
impl UnwindSafe for ByteSet
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