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()
.
pub fn set(&mut self, index: u32, value: impl SetterInput<T>) -> Result<()>
Trait Implementations§
source§impl<'a, T> FromPointerBuilder<'a> for Builder<'a, T>where
T: Owned,
impl<'a, T> FromPointerBuilder<'a> for Builder<'a, T>where
T: Owned,
fn init_pointer(builder: PointerBuilder<'a>, size: u32) -> Builder<'a, T>
fn get_from_pointer( builder: PointerBuilder<'a>, default: Option<&'a [Word]> ) -> Result<Builder<'a, T>>
Auto Trait Implementations§
impl<'a, T> Freeze for Builder<'a, T>
impl<'a, T> !RefUnwindSafe for Builder<'a, T>
impl<'a, T> !Send for Builder<'a, T>
impl<'a, T> !Sync for Builder<'a, T>
impl<'a, T> Unpin for Builder<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for Builder<'a, T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more