Struct flatbuffers::Table [−][src]
Fields
buf: &'a [u8]
loc: usize
Methods
impl<'a> Table<'a>
[src]
impl<'a> Table<'a>
pub fn new(buf: &'a [u8], loc: usize) -> Self
[src]
pub fn new(buf: &'a [u8], loc: usize) -> Self
pub fn vtable(&'a self) -> VTable<'a>
[src]
pub fn vtable(&'a self) -> VTable<'a>
pub fn get<T: Follow<'a> + 'a>(
&'a self,
slot_byte_loc: VOffsetT,
default: Option<T::Inner>
) -> Option<T::Inner>
[src]
pub fn get<T: Follow<'a> + 'a>(
&'a self,
slot_byte_loc: VOffsetT,
default: Option<T::Inner>
) -> Option<T::Inner>
Trait Implementations
impl<'a> Clone for Table<'a>
[src]
impl<'a> Clone for Table<'a>
fn clone(&self) -> Table<'a>
[src]
fn clone(&self) -> Table<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Copy for Table<'a>
[src]
impl<'a> Copy for Table<'a>
impl<'a> Debug for Table<'a>
[src]
impl<'a> Debug for Table<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> PartialEq for Table<'a>
[src]
impl<'a> PartialEq for Table<'a>
fn eq(&self, other: &Table<'a>) -> bool
[src]
fn eq(&self, other: &Table<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Table<'a>) -> bool
[src]
fn ne(&self, other: &Table<'a>) -> bool
This method tests for !=
.
impl<'a> Follow<'a> for Table<'a>
[src]
impl<'a> Follow<'a> for Table<'a>