pub struct RunEndEncoded<'a> {
pub _tab: Table<'a>,
}
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.
Fields§
§_tab: Table<'a>
Implementations§
Source§impl<'a> RunEndEncoded<'a>
impl<'a> RunEndEncoded<'a>
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>, _args: &'args RunEndEncodedArgs, ) -> WIPOffset<RunEndEncoded<'bldr>>
Trait Implementations§
Source§impl<'a> Clone for RunEndEncoded<'a>
impl<'a> Clone for RunEndEncoded<'a>
Source§fn clone(&self) -> RunEndEncoded<'a>
fn clone(&self) -> RunEndEncoded<'a>
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<'a> Follow<'a> for RunEndEncoded<'a>
impl<'a> Follow<'a> for RunEndEncoded<'a>
Source§impl<'a> PartialEq for RunEndEncoded<'a>
impl<'a> PartialEq for RunEndEncoded<'a>
Source§impl Verifiable for RunEndEncoded<'_>
impl Verifiable for RunEndEncoded<'_>
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for RunEndEncoded<'a>
impl<'a> StructuralPartialEq for RunEndEncoded<'a>
Auto Trait Implementations§
impl<'a> Freeze for RunEndEncoded<'a>
impl<'a> RefUnwindSafe for RunEndEncoded<'a>
impl<'a> Send for RunEndEncoded<'a>
impl<'a> Sync for RunEndEncoded<'a>
impl<'a> Unpin for RunEndEncoded<'a>
impl<'a> UnwindSafe for RunEndEncoded<'a>
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