Struct capnp::private::layout::PointerBuilder[][src]

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

Implementations

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

pub fn get_root(
    arena: &'a dyn BuilderArena,
    segment_id: u32,
    location: *mut u8
) -> Self
[src]

pub fn borrow<'b>(&'b mut self) -> PointerBuilder<'b>[src]

pub fn imbue(&mut self, cap_table: CapTableBuilder)[src]

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

pub fn get_struct(
    self,
    size: StructSize,
    default: Option<&'a [Word]>
) -> Result<StructBuilder<'a>>
[src]

pub fn get_list(
    self,
    element_size: ElementSize,
    default: Option<&'a [Word]>
) -> Result<ListBuilder<'a>>
[src]

pub fn get_struct_list(
    self,
    element_size: StructSize,
    default: Option<&'a [Word]>
) -> Result<ListBuilder<'a>>
[src]

pub fn get_text(self, default: Option<&'a [Word]>) -> Result<Builder<'a>>[src]

pub fn get_data(self, default: Option<&'a [Word]>) -> Result<Builder<'a>>[src]

pub fn get_capability(&self) -> Result<Box<dyn ClientHook>>[src]

pub fn init_struct(self, size: StructSize) -> StructBuilder<'a>[src]

pub fn init_list(
    self,
    element_size: ElementSize,
    element_count: ElementCount32
) -> ListBuilder<'a>
[src]

pub fn init_struct_list(
    self,
    element_count: ElementCount32,
    element_size: StructSize
) -> ListBuilder<'a>
[src]

pub fn init_text(self, size: ByteCount32) -> Builder<'a>[src]

pub fn init_data(self, size: ByteCount32) -> Builder<'a>[src]

pub fn set_struct(
    &self,
    value: &StructReader<'_>,
    canonicalize: bool
) -> Result<()>
[src]

pub fn set_list(&self, value: &ListReader<'_>, canonicalize: bool) -> Result<()>[src]

pub fn set_text(&self, value: &str)[src]

pub fn set_data(&self, value: &[u8])[src]

pub fn set_capability(&self, cap: Box<dyn ClientHook>)[src]

pub fn copy_from(
    &mut self,
    other: PointerReader<'_>,
    canonicalize: bool
) -> Result<()>
[src]

pub fn clear(&mut self)[src]

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

Trait Implementations

impl<'a> Clone for PointerBuilder<'a>[src]

impl<'a> Copy for PointerBuilder<'a>[src]

Auto Trait Implementations

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

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

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

impl<'a> Unpin for PointerBuilder<'a>

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

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.