Struct capnp::any_pointer_list::Reader[][src]

pub struct Reader<'a> {
    pub reader: ListReader<'a>,
}

Fields

reader: ListReader<'a>

Implementations

impl<'a> Reader<'a>[src]

pub fn len(&self) -> u32[src]

pub fn iter(self) -> ListIter<Reader<'a>, Result<Reader<'a>>>

Notable traits for ListIter<T, U>

impl<U, T: IndexMove<u32, U>> Iterator for ListIter<T, U> type Item = U;
[src]

pub fn get(self, index: u32) -> Reader<'a>[src]

Trait Implementations

impl<'a> Clone for Reader<'a>[src]

fn clone(&self) -> Reader<'a>[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a> FromPointerReader<'a> for Reader<'a>[src]

fn get_from_pointer(
    reader: &PointerReader<'a>,
    default: Option<&'a [Word]>
) -> Result<Reader<'a>>
[src]

impl<'a> IndexMove<u32, Result<Reader<'a>, Error>> for Reader<'a>[src]

fn index_move(&self, index: u32) -> Result<Reader<'a>>[src]

impl<'a> IntoInternalListReader<'a> for Reader<'a>[src]

impl<'a> IntoIterator for Reader<'a>[src]

type Item = Result<Reader<'a>>

The type of the elements being iterated over.

type IntoIter = ListIter<Reader<'a>, Self::Item>

Which kind of iterator are we turning this into?

fn into_iter(self) -> Self::IntoIter[src]

Creates an iterator from a value. Read more

impl<'a> SetPointerBuilder for Reader<'a>[src]

fn set_pointer_builder<'b>(
    pointer: PointerBuilder<'b>,
    value: Reader<'a>,
    canonicalize: bool
) -> Result<()>
[src]

impl<'a> Copy for Reader<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Reader<'a>

impl<'a> !Send for Reader<'a>

impl<'a> !Sync for Reader<'a>

impl<'a> Unpin for Reader<'a>

impl<'a> !UnwindSafe for Reader<'a>

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.