Struct capnp::private::layout::PointerBuilder [−][src]
Implementations
impl<'a> PointerBuilder<'a>
[src]
pub fn get_root(
arena: &'a dyn BuilderArena,
segment_id: u32,
location: *mut u8
) -> Self
[src]
arena: &'a dyn BuilderArena,
segment_id: u32,
location: *mut u8
) -> Self
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]
self,
size: StructSize,
default: Option<&'a [Word]>
) -> Result<StructBuilder<'a>>
pub fn get_list(
self,
element_size: ElementSize,
default: Option<&'a [Word]>
) -> Result<ListBuilder<'a>>
[src]
self,
element_size: ElementSize,
default: Option<&'a [Word]>
) -> Result<ListBuilder<'a>>
pub fn get_struct_list(
self,
element_size: StructSize,
default: Option<&'a [Word]>
) -> Result<ListBuilder<'a>>
[src]
self,
element_size: StructSize,
default: Option<&'a [Word]>
) -> Result<ListBuilder<'a>>
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]
self,
element_size: ElementSize,
element_count: ElementCount32
) -> ListBuilder<'a>
pub fn init_struct_list(
self,
element_count: ElementCount32,
element_size: StructSize
) -> ListBuilder<'a>
[src]
self,
element_count: ElementCount32,
element_size: StructSize
) -> ListBuilder<'a>
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]
&self,
value: &StructReader<'_>,
canonicalize: bool
) -> Result<()>
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]
&mut self,
other: PointerReader<'_>,
canonicalize: bool
) -> Result<()>
pub fn clear(&mut self)
[src]
pub fn into_reader(self) -> PointerReader<'a>
[src]
Trait Implementations
impl<'a> Clone for PointerBuilder<'a>
[src]
fn clone(&self) -> PointerBuilder<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,