pub struct FixedSizeBinaryBuilder<State>(/* private fields */);Expand description
Builder for serializing an instance of the FixedSizeBinary type.
Can be created using the FixedSizeBinary::builder method.
Implementations§
Source§impl FixedSizeBinaryBuilder<()>
impl FixedSizeBinaryBuilder<()>
Sourcepub fn byte_width<T0>(self, value: T0) -> FixedSizeBinaryBuilder<(T0,)>
pub fn byte_width<T0>(self, value: T0) -> FixedSizeBinaryBuilder<(T0,)>
Setter for the byteWidth field.
Sourcepub fn byte_width_as_default(self) -> FixedSizeBinaryBuilder<(DefaultValue,)>
pub fn byte_width_as_default(self) -> FixedSizeBinaryBuilder<(DefaultValue,)>
Sets the byteWidth field to the default value.
Source§impl<T0> FixedSizeBinaryBuilder<(T0,)>
impl<T0> FixedSizeBinaryBuilder<(T0,)>
Sourcepub fn finish(self, builder: &mut Builder) -> Offset<FixedSizeBinary>where
Self: WriteAsOffset<FixedSizeBinary>,
pub fn finish(self, builder: &mut Builder) -> Offset<FixedSizeBinary>where
Self: WriteAsOffset<FixedSizeBinary>,
Finish writing the builder to get an Offset to a serialized FixedSizeBinary.
Trait Implementations§
Source§impl<State: Debug> Debug for FixedSizeBinaryBuilder<State>
impl<State: Debug> Debug for FixedSizeBinaryBuilder<State>
impl<T0: WriteAsDefault<i32, i32>> WriteAs<Offset<FixedSizeBinary>> for FixedSizeBinaryBuilder<(T0,)>
impl<T0: WriteAsDefault<i32, i32>> WriteAsOffset<FixedSizeBinary> for FixedSizeBinaryBuilder<(T0,)>
impl<T0: WriteAsDefault<i32, i32>> WriteAsOptional<Offset<FixedSizeBinary>> for FixedSizeBinaryBuilder<(T0,)>
Auto Trait Implementations§
impl<State> Freeze for FixedSizeBinaryBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for FixedSizeBinaryBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for FixedSizeBinaryBuilder<State>where
State: Send,
impl<State> Sync for FixedSizeBinaryBuilder<State>where
State: Sync,
impl<State> Unpin for FixedSizeBinaryBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for FixedSizeBinaryBuilder<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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more