pub struct VTableObject {
pub offset: ByteIndex,
pub declaration: DeclarationIndex,
}Fields§
§offset: ByteIndex§declaration: DeclarationIndexImplementations§
Source§impl VTableObject
impl VTableObject
pub fn get_vtable_size( &self, buffer: &InspectableFlatbuffer<'_>, ) -> Result<u16, Error>
pub fn get_table_size( &self, buffer: &InspectableFlatbuffer<'_>, ) -> Result<u16, Error>
pub fn get_offset( &self, i: u32, buffer: &InspectableFlatbuffer<'_>, ) -> Result<Option<u16>, Error>
pub fn get_offsets<'a>( &self, buffer: &InspectableFlatbuffer<'a>, ) -> Result<impl 'a + ExactSizeIterator<Item = u16> + DoubleEndedIterator, Error>
Trait Implementations§
Source§impl Byterange for VTableObject
impl Byterange for VTableObject
Source§impl<'a> Children<'a> for VTableObject
impl<'a> Children<'a> for VTableObject
Source§impl Clone for VTableObject
impl Clone for VTableObject
Source§fn clone(&self) -> VTableObject
fn clone(&self) -> VTableObject
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 VTableObject
impl Debug for VTableObject
Source§impl DeclarationInfo for VTableObject
impl DeclarationInfo for VTableObject
const KIND: &'static str = "vtable"
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 VTableObject
impl Hash for VTableObject
Source§impl<'a> ObjectName<'a> for VTableObject
impl<'a> ObjectName<'a> for VTableObject
fn print_object(&self, buffer: &InspectableFlatbuffer<'a>) -> String
Source§impl PartialEq for VTableObject
impl PartialEq for VTableObject
impl Copy for VTableObject
impl Eq for VTableObject
impl StructuralPartialEq for VTableObject
Auto Trait Implementations§
impl Freeze for VTableObject
impl RefUnwindSafe for VTableObject
impl Send for VTableObject
impl Sync for VTableObject
impl Unpin for VTableObject
impl UnwindSafe for VTableObject
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.