pub struct ByteRange(/* private fields */);Expand description
See range()
Trait Implementations§
Source§impl Pattern for ByteRange
impl Pattern for ByteRange
Source§fn eval(&self, input: &[u8]) -> Option<usize>
fn eval(&self, input: &[u8]) -> Option<usize>
Evaluates the pattern against a slice of bytes.
If the pattern matches, the length of matching bytes should be returned.
Otherwise,
None should be returned. Read moreSource§fn and<P>(self, other: P) -> Composition<Self, P>
fn and<P>(self, other: P) -> Composition<Self, P>
impl Copy for ByteRange
Auto Trait Implementations§
impl Freeze for ByteRange
impl RefUnwindSafe for ByteRange
impl Send for ByteRange
impl Sync for ByteRange
impl Unpin for ByteRange
impl UnwindSafe for ByteRange
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