Struct planus_buffer_inspection::TableObject
source · pub struct TableObject {
pub offset: ByteIndex,
pub declaration: DeclarationIndex,
}Fields§
§offset: ByteIndex§declaration: DeclarationIndexImplementations§
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 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 TableObject
impl Debug for TableObject
source§impl DeclarationInfo for TableObject
impl DeclarationInfo for TableObject
type Declaration = Table
const KIND: &'static str = "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<TableObject> for TableObject
impl PartialEq<TableObject> for TableObject
source§fn eq(&self, other: &TableObject) -> bool
fn eq(&self, other: &TableObject) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TableObject
impl Eq for TableObject
impl StructuralEq for TableObject
impl StructuralPartialEq for TableObject
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.