Struct capnp::dynamic_list::Builder
source · pub struct Builder<'a> { /* private fields */ }
Expand description
A mutable dynamically-typed list.
Implementations§
source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn into_reader(self) -> Reader<'a>
pub fn len(&self) -> u32
pub fn is_empty(&self) -> bool
pub fn element_type(&self) -> Type
pub fn get(self, index: u32) -> Result<Builder<'a>>
pub fn set(&mut self, index: u32, value: Reader<'_>) -> Result<()>
pub fn init(self, index: u32, size: u32) -> Result<Builder<'a>>
Trait Implementations§
source§impl<'a> DowncastBuilder<'a> for Builder<'a>
impl<'a> DowncastBuilder<'a> for Builder<'a>
fn downcast_builder(value: Builder<'a>) -> Self
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
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