Struct capnp::struct_list::Reader
source · pub struct Reader<'a, T>where
T: for<'b> OwnedStruct<'b>,{ /* private fields */ }
Implementations§
source§impl<'a, T> Reader<'a, T>where
T: for<'b> OwnedStruct<'b>,
impl<'a, T> Reader<'a, T>where
T: for<'b> OwnedStruct<'b>,
source§impl<'a, T> Reader<'a, T>where
T: for<'b> OwnedStruct<'b>,
impl<'a, T> Reader<'a, T>where
T: for<'b> OwnedStruct<'b>,
source§impl<'a, T> Reader<'a, T>where
T: for<'b> OwnedStruct<'b>,
impl<'a, T> Reader<'a, T>where
T: for<'b> OwnedStruct<'b>,
sourcepub fn get(self, index: u32) -> <T as OwnedStruct<'a>>::Reader
pub fn get(self, index: u32) -> <T as OwnedStruct<'a>>::Reader
Gets the element at position index
. Panics if index
is greater than or
equal to len()
.