[][src]Struct capnp::enum_list::Builder

pub struct Builder<'a, T> { /* fields omitted */ }

Methods

impl<'a, T: ToU16 + FromU16> Builder<'a, T>[src]

pub fn new(builder: ListBuilder<'a>) -> Builder<'a, T>[src]

pub fn len(&self) -> u32[src]

pub fn into_reader(self) -> Reader<'a, T>[src]

pub fn set(&mut self, index: u32, value: T)[src]

impl<'a, T: ToU16 + FromU16> Builder<'a, T>[src]

pub fn get(&self, index: u32) -> Result<T, NotInSchema>[src]

pub fn reborrow<'b>(&'b self) -> Builder<'b, T>[src]

Trait Implementations

impl<'a, T: FromU16> FromPointerBuilder<'a> for Builder<'a, T>[src]

impl<'a, T> SetPointerBuilder<Builder<'a, T>> for Reader<'a, T>[src]

Auto Trait Implementations

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>

impl<'a, T> !RefUnwindSafe for Builder<'a, T>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]