pub struct F2rRoot<'a> {
pub _tab: Table<'a>,
}
Fields§
§_tab: Table<'a>
Implementations§
Source§impl<'a> F2rRoot<'a>
impl<'a> F2rRoot<'a>
pub const VT_ROOT_PAYLOAD_TYPE: VOffsetT = 4u16
pub const VT_ROOT_PAYLOAD: VOffsetT = 6u16
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args F2rRootArgs, ) -> WIPOffset<F2rRoot<'bldr>>
pub fn root_payload_type(&self) -> F2rRootPayload
pub fn root_payload(&self) -> Option<Table<'a>>
pub fn root_payload_as_error(&self) -> Option<F2rError<'a>>
pub fn root_payload_as_to_agent(&self) -> Option<F2rToAgent<'a>>
Trait Implementations§
Source§impl Verifiable for F2rRoot<'_>
impl Verifiable for F2rRoot<'_>
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for F2rRoot<'a>
impl<'a> StructuralPartialEq for F2rRoot<'a>
Auto Trait Implementations§
impl<'a> Freeze for F2rRoot<'a>
impl<'a> RefUnwindSafe for F2rRoot<'a>
impl<'a> Send for F2rRoot<'a>
impl<'a> Sync for F2rRoot<'a>
impl<'a> Unpin for F2rRoot<'a>
impl<'a> UnwindSafe for F2rRoot<'a>
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