pub struct SingleByte;Expand description
See byte
Trait Implementations§
Source§impl Clone for SingleByte
impl Clone for SingleByte
Source§fn clone(&self) -> SingleByte
fn clone(&self) -> SingleByte
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SingleByte
impl Debug for SingleByte
Source§impl Pattern for SingleByte
impl Pattern for SingleByte
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 SingleByte
Auto Trait Implementations§
impl Freeze for SingleByte
impl RefUnwindSafe for SingleByte
impl Send for SingleByte
impl Sync for SingleByte
impl Unpin for SingleByte
impl UnwindSafe for SingleByte
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