pub struct Builder<'a, T>where
T: for<'b> Owned<'b>,{ /* private fields */ }
Implementations§
source§impl<'a, T> Builder<'a, T>where
T: for<'b> Owned<'b>,
impl<'a, T> Builder<'a, T>where
T: for<'b> Owned<'b>,
sourcepub fn get(self, index: u32) -> Result<<T as Owned<'a>>::Builder>
pub fn get(self, index: u32) -> Result<<T as Owned<'a>>::Builder>
Gets the element at position index
. Panics if index
is greater than or
equal to len()
.
sourcepub fn try_get(self, index: u32) -> Option<Result<<T as Owned<'a>>::Builder>>
pub fn try_get(self, index: u32) -> Option<Result<<T as Owned<'a>>::Builder>>
Gets the element at position index
. Returns None
if index
is greater than or equal to len()
.