Struct capnp::any_pointer_list::Builder
source · pub struct Builder<'a> { /* private fields */ }
Implementations§
source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn len(&self) -> u32
pub fn into_reader(self) -> Reader<'a>
sourcepub fn get(self, index: u32) -> Builder<'a>
pub fn get(self, index: u32) -> Builder<'a>
Gets the element at position index
. Panics if index
is greater than or
equal to len()
.
sourcepub fn try_get(self, index: u32) -> Option<Builder<'a>>
pub fn try_get(self, index: u32) -> Option<Builder<'a>>
Gets the element at position index
. Returns None
if index
is greater than or equal to len()
.