[−][src]Struct imap::types::ZeroCopy
This type wraps an input stream and a type that was constructed by parsing that input stream, which allows the parsed type to refer to data in the underlying stream instead of copying it.
Any references given out by a ZeroCopy
should never be used after the ZeroCopy
is dropped.
Trait Implementations
impl<D: PartialEq> PartialEq<ZeroCopy<D>> for ZeroCopy<D>
[src]
impl<D: PartialEq> PartialEq<ZeroCopy<D>> for ZeroCopy<D>
fn eq(&self, other: &ZeroCopy<D>) -> bool
[src]
fn eq(&self, other: &ZeroCopy<D>) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl<'a, D> IntoIterator for &'a ZeroCopy<D> where
&'a D: IntoIterator,
[src]
impl<'a, D> IntoIterator for &'a ZeroCopy<D> where
&'a D: IntoIterator,
type Item = <&'a D as IntoIterator>::Item
The type of the elements being iterated over.
type IntoIter = <&'a D as IntoIterator>::IntoIter
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
fn into_iter(self) -> Self::IntoIter
impl<D: Eq> Eq for ZeroCopy<D>
[src]
impl<D: Eq> Eq for ZeroCopy<D>
impl<D: Ord> Ord for ZeroCopy<D>
[src]
impl<D: Ord> Ord for ZeroCopy<D>
fn cmp(&self, other: &ZeroCopy<D>) -> Ordering
[src]
fn cmp(&self, other: &ZeroCopy<D>) -> Ordering
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
1.21.0
[src]Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0
[src]Compares and returns the minimum of two values. Read more
impl<D: PartialOrd> PartialOrd<ZeroCopy<D>> for ZeroCopy<D>
[src]
impl<D: PartialOrd> PartialOrd<ZeroCopy<D>> for ZeroCopy<D>
fn partial_cmp(&self, other: &ZeroCopy<D>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ZeroCopy<D>) -> Option<Ordering>
fn lt(&self, other: &ZeroCopy<D>) -> bool
[src]
fn lt(&self, other: &ZeroCopy<D>) -> bool
fn le(&self, other: &ZeroCopy<D>) -> bool
[src]
fn le(&self, other: &ZeroCopy<D>) -> bool
fn gt(&self, other: &ZeroCopy<D>) -> bool
[src]
fn gt(&self, other: &ZeroCopy<D>) -> bool
fn ge(&self, other: &ZeroCopy<D>) -> bool
[src]
fn ge(&self, other: &ZeroCopy<D>) -> bool
impl<D: Display> Display for ZeroCopy<D>
[src]
impl<D: Display> Display for ZeroCopy<D>
impl<D: Debug> Debug for ZeroCopy<D>
[src]
impl<D: Debug> Debug for ZeroCopy<D>
impl<D> Deref for ZeroCopy<D>
[src]
impl<D> Deref for ZeroCopy<D>
impl<D: Hash> Hash for ZeroCopy<D>
[src]
impl<D: Hash> Hash for ZeroCopy<D>
Auto Trait Implementations
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId