pub struct RunEndEncoded {}Expand description
Contains two child arrays, run_ends and values. The run_ends child array must be a 16/32/64-bit integer array which encodes the indices at which the run with the value in each corresponding index in the values child array ends. Like list/struct types, the value array can be of any type.
Generated from these locations:
- Table
RunEndEncodedin the fileSchema.fbs:222
Implementations§
Source§impl RunEndEncoded
impl RunEndEncoded
Sourcepub fn builder() -> RunEndEncodedBuilder<()>
pub fn builder() -> RunEndEncodedBuilder<()>
Creates a RunEndEncodedBuilder for serializing an instance of this table.
pub fn create(builder: &mut Builder) -> Offset<Self>
Trait Implementations§
Source§impl Clone for RunEndEncoded
impl Clone for RunEndEncoded
Source§fn clone(&self) -> RunEndEncoded
fn clone(&self) -> RunEndEncoded
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RunEndEncoded
impl Debug for RunEndEncoded
Source§impl Default for RunEndEncoded
impl Default for RunEndEncoded
Source§impl<'de> Deserialize<'de> for RunEndEncoded
impl<'de> Deserialize<'de> for RunEndEncoded
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RunEndEncoded
impl Hash for RunEndEncoded
Source§impl Ord for RunEndEncoded
impl Ord for RunEndEncoded
Source§fn cmp(&self, other: &RunEndEncoded) -> Ordering
fn cmp(&self, other: &RunEndEncoded) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RunEndEncoded
impl PartialEq for RunEndEncoded
Source§impl PartialOrd for RunEndEncoded
impl PartialOrd for RunEndEncoded
Source§impl Serialize for RunEndEncoded
impl Serialize for RunEndEncoded
Source§impl<'a> TryFrom<RunEndEncodedRef<'a>> for RunEndEncoded
impl<'a> TryFrom<RunEndEncodedRef<'a>> for RunEndEncoded
impl Eq for RunEndEncoded
impl StructuralPartialEq for RunEndEncoded
impl VectorWrite<Offset<RunEndEncoded>> for RunEndEncoded
§Safety
The planus compiler generates implementations that initialize
the bytes in write_values.
impl WriteAs<Offset<RunEndEncoded>> for RunEndEncoded
impl WriteAsOffset<RunEndEncoded> for RunEndEncoded
impl WriteAsOffset<RunEndEncoded> for RunEndEncodedBuilder<()>
impl WriteAsOptional<Offset<RunEndEncoded>> for RunEndEncoded
Auto Trait Implementations§
impl Freeze for RunEndEncoded
impl RefUnwindSafe for RunEndEncoded
impl Send for RunEndEncoded
impl Sync for RunEndEncoded
impl Unpin for RunEndEncoded
impl UnwindSafe for RunEndEncoded
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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