[][src]Struct capnp::any_pointer::Builder

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

Methods

impl<'a> Builder<'a>[src]

pub fn new<'b>(builder: PointerBuilder<'a>) -> Builder<'a>[src]

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

pub fn is_null(&self) -> bool[src]

pub fn target_size(&self) -> Result<MessageSize>[src]

Gets the total size of the target and all of its children. Does not count far pointer overhead.

pub fn get_as<T: FromPointerBuilder<'a>>(self) -> Result<T>[src]

pub fn init_as<T: FromPointerBuilder<'a>>(self) -> T[src]

pub fn initn_as<T: FromPointerBuilder<'a>>(self, size: u32) -> T[src]

pub fn set_as<To, From: SetPointerBuilder<To>>(self, value: From) -> Result<()>[src]

pub fn set_as_capability(&mut self, value: Box<dyn ClientHook>)[src]

pub fn clear(&mut self)[src]

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

Trait Implementations

impl<'a> FromPointerBuilder<'a> for Builder<'a>[src]

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

impl<'a> ImbueMut<'a> for Builder<'a>[src]

Auto Trait Implementations

impl<'a> !Send for Builder<'a>

impl<'a> !Sync for Builder<'a>

impl<'a> Unpin for Builder<'a>

impl<'a> !UnwindSafe for Builder<'a>

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

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]