[−][src]Struct capnp::struct_list::Reader
Methods
impl<'a, T> Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
pub fn new<'b>(reader: ListReader<'b>) -> Reader<'b, T>
[src]
pub fn len(&self) -> u32
[src]
ⓘImportant traits for ListIter<T, U>pub fn iter(self) -> ListIter<Reader<'a, T>, <T as OwnedStruct<'a>>::Reader>
[src]
ⓘImportant traits for ListIter<T, U>
impl<'a, T> Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
impl<'a, T> Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
pub fn get(self, index: u32) -> <T as OwnedStruct<'a>>::Reader
[src]
Trait Implementations
impl<'a, T> IntoInternalListReader<'a> for Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
fn into_internal_list_reader(self) -> ListReader<'a>
[src]
impl<'a, T> FromPointerReader<'a> for Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
fn get_from_pointer(
reader: &PointerReader<'a>,
default: Option<&'a [Word]>
) -> Result<Reader<'a, T>>
[src]
reader: &PointerReader<'a>,
default: Option<&'a [Word]>
) -> Result<Reader<'a, T>>
impl<'a, T> SetPointerBuilder<Builder<'a, T>> for Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
fn set_pointer_builder<'b>(
pointer: PointerBuilder<'b>,
value: Reader<'a, T>,
canonicalize: bool
) -> Result<()>
[src]
pointer: PointerBuilder<'b>,
value: Reader<'a, T>,
canonicalize: bool
) -> Result<()>
impl<'a, T> IndexMove<u32, <T as OwnedStruct<'a>>::Reader> for Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
fn index_move(&self, index: u32) -> <T as OwnedStruct<'a>>::Reader
[src]
impl<'a, T> IntoIterator for Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
type Item = <T as OwnedStruct<'a>>::Reader
The type of the elements being iterated over.
type IntoIter = ListIter<Reader<'a, T>, Self::Item>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a, T> Clone for Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
impl<'a, T> Copy for Reader<'a, T> where
T: for<'b> OwnedStruct<'b>,
[src]
T: for<'b> OwnedStruct<'b>,
Auto Trait Implementations
impl<'a, T> !Send for Reader<'a, T>
impl<'a, T> !Sync for Reader<'a, T>
impl<'a, T> Unpin for Reader<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> !UnwindSafe for Reader<'a, T>
impl<'a, T> !RefUnwindSafe for Reader<'a, T>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,