pub struct Builder<'a> { /* private fields */ }

Implementations§

source§

impl<'a> Builder<'a>

source

pub fn into_reader(self) -> Reader<'a>

source

pub fn reborrow(&mut self) -> Builder<'_>

source

pub fn reborrow_as_reader(&self) -> Reader<'_>

source

pub fn total_size(&self) -> Result<MessageSize>

source

pub fn get_name(self) -> Result<Builder<'a>>

source

pub fn set_name(&mut self, value: impl SetterInput<Owned>)

source

pub fn init_name(self, size: u32) -> Builder<'a>

source

pub fn has_name(&self) -> bool

source

pub fn get_code_order(self) -> u16

source

pub fn set_code_order(&mut self, value: u16)

source

pub fn get_annotations(self) -> Result<Builder<'a, Owned>>

source

pub fn set_annotations(&mut self, value: Reader<'_, Owned>) -> Result<()>

source

pub fn init_annotations(self, size: u32) -> Builder<'a, Owned>

source

pub fn has_annotations(&self) -> bool

source

pub fn get_discriminant_value(self) -> u16

source

pub fn set_discriminant_value(&mut self, value: u16)

source

pub fn init_slot(self) -> Builder<'a>

source

pub fn init_group(self) -> Builder<'a>

source

pub fn get_ordinal(self) -> Builder<'a>

source

pub fn init_ordinal(self) -> Builder<'a>

source

pub fn which(self) -> Result<WhichBuilder<'a>, NotInSchema>

Trait Implementations§

source§

impl<'a> From<Builder<'a>> for Builder<'a>

source§

fn from(builder: Builder<'a>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<StructBuilder<'a>> for Builder<'a>

source§

fn from(builder: StructBuilder<'a>) -> Self

Converts to this type from the input type.
source§

impl<'a> FromPointerBuilder<'a> for Builder<'a>

source§

fn init_pointer(builder: PointerBuilder<'a>, _size: u32) -> Self

source§

fn get_from_pointer( builder: PointerBuilder<'a>, default: Option<&'a [Word]> ) -> Result<Self>

source§

impl<'a> HasStructSize for Builder<'a>

source§

impl<'a> HasTypeId for Builder<'a>

source§

const TYPE_ID: u64 = 11_145_653_318_641_710_175u64

source§

impl<'a> ImbueMut<'a> for Builder<'a>

source§

fn imbue_mut(&mut self, cap_table: &'a mut CapTable)

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.