pub struct TableObject {
pub offset: ByteIndex,
pub declaration: DeclarationIndex,
}
Fields§
§offset: ByteIndex
§declaration: DeclarationIndex
Implementations§
Source§impl TableObject
impl TableObject
pub fn get_vtable( &self, buffer: &InspectableFlatbuffer<'_>, ) -> Result<VTableObject, Error>
pub fn get_field<'a>( &self, buffer: &InspectableFlatbuffer<'a>, field_index: u32, ) -> Result<Option<Object<'a>>, Error>
Trait Implementations§
Source§impl Byterange for TableObject
impl Byterange for TableObject
Source§impl<'a> Children<'a> for TableObject
impl<'a> Children<'a> for TableObject
Source§impl Clone for TableObject
impl Clone for TableObject
Source§fn clone(&self) -> TableObject
fn clone(&self) -> TableObject
Returns a duplicate 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 TableObject
impl Debug for TableObject
Source§impl DeclarationInfo for TableObject
impl DeclarationInfo for TableObject
const KIND: &'static str = "table"
type Declaration = Table
fn declaration_index(&self) -> DeclarationIndex
fn resolve_declaration<'a>( &self, buffer: &InspectableFlatbuffer<'a>, ) -> &'a Table
fn resolve_path<'a>( &self, buffer: &InspectableFlatbuffer<'a>, ) -> &'a AbsolutePath
Source§impl Hash for TableObject
impl Hash for TableObject
Source§impl<'a> ObjectName<'a> for TableObject
impl<'a> ObjectName<'a> for TableObject
fn print_object(&self, buffer: &InspectableFlatbuffer<'_>) -> String
Source§impl PartialEq for TableObject
impl PartialEq for TableObject
impl Copy for TableObject
impl Eq for TableObject
impl StructuralPartialEq for TableObject
Auto Trait Implementations§
impl Freeze for TableObject
impl RefUnwindSafe for TableObject
impl Send for TableObject
impl Sync for TableObject
impl Unpin for TableObject
impl UnwindSafe for TableObject
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> Equivalent<K> for Q
impl<Q, K> Equivalent<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.