pub struct Builder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn as_reader(self) -> Reader<'a>
👎Deprecated since 0.9.2: use into_reader()
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_data_word_count(self) -> u16
pub fn set_data_word_count(&mut self, value: u16)
pub fn get_pointer_count(self) -> u16
pub fn set_pointer_count(&mut self, value: u16)
pub fn get_preferred_list_encoding(self) -> Result<ElementSize, NotInSchema>
pub fn set_preferred_list_encoding(&mut self, value: ElementSize)
pub fn get_is_group(self) -> bool
pub fn set_is_group(&mut self, value: bool)
pub fn get_discriminant_count(self) -> u16
pub fn set_discriminant_count(&mut self, value: u16)
pub fn get_discriminant_offset(self) -> u32
pub fn set_discriminant_offset(&mut self, value: u32)
pub fn get_fields(self) -> Result<Builder<'a, Owned>>
pub fn set_fields(&mut self, value: Reader<'a, Owned>) -> Result<()>
pub fn init_fields(self, size: u32) -> Builder<'a, Owned>
pub fn has_fields(&self) -> bool
Trait Implementations
sourceimpl<'a> FromPointerBuilder<'a> for Builder<'a>
impl<'a> FromPointerBuilder<'a> for Builder<'a>
fn init_pointer(builder: PointerBuilder<'a>, _size: u32) -> Builder<'a>
fn get_from_pointer(builder: PointerBuilder<'a>) -> Result<Builder<'a>>
sourceimpl<'a> FromStructBuilder<'a> for Builder<'a>
impl<'a> FromStructBuilder<'a> for Builder<'a>
fn new(builder: StructBuilder<'a>) -> Builder<'a>
sourceimpl<'a> HasStructSize for Builder<'a>
impl<'a> HasStructSize for Builder<'a>
fn struct_size() -> StructSize
sourceimpl<'a> SetPointerBuilder<Builder<'a>> for Reader<'a>
impl<'a> SetPointerBuilder<Builder<'a>> for Reader<'a>
fn set_pointer_builder<'b>(
pointer: PointerBuilder<'b>,
value: Reader<'a>,
canonicalize: bool
) -> Result<()>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more