[][src]Struct io::Pos

pub struct Pos<T> {
    pub pos: usize,
    // some fields omitted
}

Fields

pos: usize

Implementations

impl<T> Pos<T>[src]

pub fn unwrap(self) -> T[src]

Trait Implementations

impl<T: Clone> Clone for Pos<T>[src]

impl<T: Copy> Copy for Pos<T>[src]

impl<T: Debug> Debug for Pos<T>[src]

impl<T: Eq> Eq for Pos<T>[src]

impl<T> From<T> for Pos<T>[src]

impl<T: Hash> Hash for Pos<T>[src]

impl<T: PartialEq> PartialEq<Pos<T>> for Pos<T>[src]

impl<S: Copy, T: Deref<Target = [S]>> Read<S> for Pos<T>[src]

type Err = Void

impl<T> StructuralEq for Pos<T>[src]

impl<T> StructuralPartialEq for Pos<T>[src]

impl<S: Copy, T: DerefMut<Target = [S]>> Write<S> for Pos<T>[src]

type Err = Void

impl<T: DerefMut<Target = [u8]>> Write for Pos<T>[src]

Auto Trait Implementations

impl<T> Send for Pos<T> where
    T: Send

impl<T> Sync for Pos<T> where
    T: Sync

impl<T> Unpin for Pos<T> where
    T: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T, R> Read<T> for R where
    R: DerefMut + ?Sized,
    T: Copy,
    <R as Deref>::Target: Read<T>, 
[src]

type Err = <<R as Deref>::Target as Read<T>>::Err

impl<T> TryClone for T where
    T: Clone

type Error = Void

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<'a, T, W> Write<T> for W where
    T: Copy,
    W: DerefMut + ?Sized,
    <W as Deref>::Target: Write<T>, 
[src]

type Err = <<W as Deref>::Target as Write<T>>::Err