pub struct Uint32StringBuilder<State>(/* private fields */);
Expand description
Builder for serializing an instance of the Uint32String type.
Can be created using the Uint32String::builder method.
Implementations§
Source§impl Uint32StringBuilder<()>
impl Uint32StringBuilder<()>
Sourcepub fn key<T0>(self, value: T0) -> Uint32StringBuilder<(T0,)>
pub fn key<T0>(self, value: T0) -> Uint32StringBuilder<(T0,)>
Setter for the key
field.
Sourcepub fn key_as_default(self) -> Uint32StringBuilder<(DefaultValue,)>
pub fn key_as_default(self) -> Uint32StringBuilder<(DefaultValue,)>
Sets the key
field to the default value.
Source§impl<T0> Uint32StringBuilder<(T0,)>
impl<T0> Uint32StringBuilder<(T0,)>
Sourcepub fn value<T1>(self, value: T1) -> Uint32StringBuilder<(T0, T1)>
pub fn value<T1>(self, value: T1) -> Uint32StringBuilder<(T0, T1)>
Setter for the value
field.
Source§impl<T0, T1> Uint32StringBuilder<(T0, T1)>
impl<T0, T1> Uint32StringBuilder<(T0, T1)>
Sourcepub fn finish(self, builder: &mut Builder) -> Offset<Uint32String>where
Self: WriteAsOffset<Uint32String>,
pub fn finish(self, builder: &mut Builder) -> Offset<Uint32String>where
Self: WriteAsOffset<Uint32String>,
Finish writing the builder to get an Offset to a serialized Uint32String.
Trait Implementations§
Source§impl<State: Debug> Debug for Uint32StringBuilder<State>
impl<State: Debug> Debug for Uint32StringBuilder<State>
impl<T0: WriteAsDefault<u32, u32>, T1: WriteAs<Offset<str>>> WriteAs<Offset<Uint32String>> for Uint32StringBuilder<(T0, T1)>
impl<T0: WriteAsDefault<u32, u32>, T1: WriteAs<Offset<str>>> WriteAsOffset<Uint32String> for Uint32StringBuilder<(T0, T1)>
impl<T0: WriteAsDefault<u32, u32>, T1: WriteAs<Offset<str>>> WriteAsOptional<Offset<Uint32String>> for Uint32StringBuilder<(T0, T1)>
Auto Trait Implementations§
impl<State> Freeze for Uint32StringBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for Uint32StringBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for Uint32StringBuilder<State>where
State: Send,
impl<State> Sync for Uint32StringBuilder<State>where
State: Sync,
impl<State> Unpin for Uint32StringBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for Uint32StringBuilder<State>where
State: UnwindSafe,
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