[−][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: Debug> Debug for ZeroCopy<D>
[src]
impl<D> Deref for ZeroCopy<D>
[src]
impl<D: Display> Display for ZeroCopy<D>
[src]
impl<D: Eq> Eq for ZeroCopy<D>
[src]
impl<D: Hash> Hash for ZeroCopy<D>
[src]
pub fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a, D> IntoIterator for &'a ZeroCopy<D> where
&'a D: IntoIterator,
[src]
&'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?
pub fn into_iter(self) -> Self::IntoIter
[src]
impl<D: Ord> Ord for ZeroCopy<D>
[src]
pub fn cmp(&self, other: &ZeroCopy<D>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<D: PartialEq> PartialEq<ZeroCopy<D>> for ZeroCopy<D>
[src]
pub fn eq(&self, other: &ZeroCopy<D>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<D: PartialOrd> PartialOrd<ZeroCopy<D>> for ZeroCopy<D>
[src]
Auto Trait Implementations
impl<D> RefUnwindSafe for ZeroCopy<D> where
D: RefUnwindSafe,
[src]
D: RefUnwindSafe,
impl<D> Send for ZeroCopy<D> where
D: Send,
[src]
D: Send,
impl<D> Sync for ZeroCopy<D> where
D: Sync,
[src]
D: Sync,
impl<D> Unpin for ZeroCopy<D> where
D: Unpin,
[src]
D: Unpin,
impl<D> UnwindSafe for ZeroCopy<D> where
D: UnwindSafe,
[src]
D: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,