pub struct MatchBytes<'t> { /* private fields */ }Expand description
A single match of a regex in a byte slice.
Similar to crate::Match but operates on &[u8] instead of &str.
Implementations§
Trait Implementations§
Source§impl<'t> Clone for MatchBytes<'t>
impl<'t> Clone for MatchBytes<'t>
Source§fn clone(&self) -> MatchBytes<'t>
fn clone(&self) -> MatchBytes<'t>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'t> Copy for MatchBytes<'t>
Source§impl<'t> Debug for MatchBytes<'t>
impl<'t> Debug for MatchBytes<'t>
impl<'t> Eq for MatchBytes<'t>
Source§impl<'t> From<MatchBytes<'t>> for &'t [u8]
impl<'t> From<MatchBytes<'t>> for &'t [u8]
Source§impl<'t> PartialEq for MatchBytes<'t>
impl<'t> PartialEq for MatchBytes<'t>
impl<'t> StructuralPartialEq for MatchBytes<'t>
Auto Trait Implementations§
impl<'t> Freeze for MatchBytes<'t>
impl<'t> RefUnwindSafe for MatchBytes<'t>
impl<'t> Send for MatchBytes<'t>
impl<'t> Sync for MatchBytes<'t>
impl<'t> Unpin for MatchBytes<'t>
impl<'t> UnsafeUnpin for MatchBytes<'t>
impl<'t> UnwindSafe for MatchBytes<'t>
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