[][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 as_reader(self) -> Reader<'a, T>[src]

Deprecated since 0.9.2:

use into_reader()

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: FromU16> FromPointerBuilderRefDefault<'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>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.