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