Struct anstream::adapter::StripBytes
source · 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
source§fn eq(&self, other: &StripBytes) -> bool
fn eq(&self, other: &StripBytes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StripBytes
impl StructuralEq for StripBytes
impl StructuralPartialEq for StripBytes
Auto Trait Implementations§
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