pub struct StripBytes { /* private fields */ }
Expand description
Incrementally strip non-contiguous data
Implementations§
Source§impl StripBytes
impl StripBytes
Sourcepub fn strip_next<'s>(&'s mut self, bytes: &'s [u8]) -> StripBytesIter<'s> ⓘ
pub fn strip_next<'s>(&'s mut self, bytes: &'s [u8]) -> StripBytesIter<'s> ⓘ
Strip the next segment of data
Trait Implementations§
Source§impl Clone for StripBytes
impl Clone for StripBytes
Source§fn clone(&self) -> StripBytes
fn clone(&self) -> StripBytes
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 StripBytes
impl Debug for StripBytes
Source§impl Default for StripBytes
impl Default for StripBytes
Source§fn default() -> StripBytes
fn default() -> StripBytes
Returns the “default value” for a type. Read more
Source§impl PartialEq for StripBytes
impl PartialEq for StripBytes
impl Eq for StripBytes
impl StructuralPartialEq for StripBytes
Auto Trait Implementations§
impl Freeze for StripBytes
impl RefUnwindSafe for StripBytes
impl Send for StripBytes
impl Sync for StripBytes
impl Unpin for StripBytes
impl UnwindSafe for StripBytes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)