[][src]Struct fbs::Table

pub struct Table<B> {
    pub buf: B,
    pub loc: usize,
}

Fields

buf: Bloc: usize

Implementations

impl<B> Table<B>[src]

pub fn new(buf: B, loc: usize) -> Self[src]

impl<B> Table<B> where
    B: AsRef<[u8]>, 
[src]

pub fn get_root(buf: B) -> Result<Self, Error>[src]

pub fn get_size_prefixed_root(buf: B) -> Result<Self, Error>[src]

pub fn vtable<'a>(&'a self) -> Result<VTable<'a>, Error>[src]

pub fn get<'a, T: Follow<'a> + 'a>(
    &'a self,
    slot_byte_loc: VOffsetT,
    default: Option<T::Inner>
) -> Result<Option<T::Inner>, Error>
[src]

Trait Implementations

impl<B: Clone> Clone for Table<B>[src]

impl<B: Copy> Copy for Table<B>[src]

impl<B: Debug> Debug for Table<B>[src]

impl<B> FollowBuf for Table<B> where
    B: AsRef<[u8]>, 
[src]

type Buf = B

type Inner = Table<B>

impl<B: PartialEq> PartialEq<Table<B>> for Table<B>[src]

impl<B> StructuralPartialEq for Table<B>[src]

Auto Trait Implementations

impl<B> RefUnwindSafe for Table<B> where
    B: RefUnwindSafe

impl<B> Send for Table<B> where
    B: Send

impl<B> Sync for Table<B> where
    B: Sync

impl<B> Unpin for Table<B> where
    B: Unpin

impl<B> UnwindSafe for Table<B> where
    B: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.