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 set_u8(&mut self, value: impl SetterInput<Owned<u8>>) -> Result<()>
pub fn init_u8(self, size: u32) -> Builder<'a, u8>
pub fn has_u8(&self) -> bool
pub fn set_u16(&mut self, value: impl SetterInput<Owned<u16>>) -> Result<()>
pub fn init_u16(self, size: u32) -> Builder<'a, u16>
pub fn has_u16(&self) -> bool
pub fn set_u32(&mut self, value: impl SetterInput<Owned<u32>>) -> Result<()>
pub fn init_u32(self, size: u32) -> Builder<'a, u32>
pub fn has_u32(&self) -> bool
pub fn set_u64(&mut self, value: impl SetterInput<Owned<u64>>) -> Result<()>
pub fn init_u64(self, size: u32) -> Builder<'a, u64>
pub fn has_u64(&self) -> bool
pub fn set_i64(&mut self, value: impl SetterInput<Owned<i64>>) -> Result<()>
pub fn init_i64(self, size: u32) -> Builder<'a, i64>
pub fn has_i64(&self) -> bool
pub fn set_null(&mut self, value: u64)
pub fn set_f64(&mut self, value: impl SetterInput<Owned<f64>>) -> Result<()>
pub fn init_f64(self, size: u32) -> Builder<'a, f64>
pub fn has_f64(&self) -> bool
pub fn set_bitvec(&mut self, value: impl SetterInput<Owned<u8>>) -> Result<()>
pub fn init_bitvec(self, size: u32) -> Builder<'a, u8>
pub fn has_bitvec(&self) -> bool
pub fn init_lz4(self) -> Builder<'a>
pub fn init_pco(self) -> Builder<'a>
pub fn which(self) -> Result<WhichBuilder<'a>, NotInSchema>
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