pub struct Builder<'a> { /* private fields */ }
Implementations§
source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize>
pub fn get_id(self) -> u32
pub fn set_id(&mut self, value: u32)
pub fn get_reference_count(self) -> u32
pub fn set_reference_count(&mut self, value: u32)
Trait Implementations§
source§impl<'a> From<StructBuilder<'a>> for Builder<'a>
impl<'a> From<StructBuilder<'a>> for Builder<'a>
source§fn from(builder: StructBuilder<'a>) -> Self
fn from(builder: StructBuilder<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> FromPointerBuilder<'a> for Builder<'a>
impl<'a> FromPointerBuilder<'a> for Builder<'a>
fn init_pointer(builder: PointerBuilder<'a>, _size: u32) -> Self
fn get_from_pointer( builder: PointerBuilder<'a>, default: Option<&'a [Word]>, ) -> Result<Self>
source§impl<'a> HasStructSize for Builder<'a>
impl<'a> HasStructSize for Builder<'a>
const STRUCT_SIZE: StructSize = _
Auto Trait Implementations§
impl<'a> Freeze for Builder<'a>
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more