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