Struct vortex_flatbuffers::footer::Postscript
source · pub struct Postscript<'a> {
pub _tab: Table<'a>,
}
Expand description
The Postscript
is guaranteed by the file format to never exceed 65528 bytes (i.e., u16::MAX - 8 bytes)
in length, and is immediately followed by an 8-byte EndOfFile
struct.
The EndOfFile
struct cannot change size without breaking backwards compatibility. It is not written/read
using flatbuffers, but the equivalent flatbuffer definition would be:
struct EndOfFile { version: uint16; footer_length: uint16; magic: [uint8; 4]; // “VTXF” }
Fields§
§_tab: Table<'a>
Implementations§
source§impl<'a> Postscript<'a>
impl<'a> Postscript<'a>
pub const VT_SCHEMA_OFFSET: VOffsetT = 4u16
pub const VT_LAYOUT_OFFSET: 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 PostscriptArgs, ) -> WIPOffset<Postscript<'bldr>>
pub fn schema_offset(&self) -> u64
pub fn layout_offset(&self) -> u64
Trait Implementations§
source§impl<'a> Clone for Postscript<'a>
impl<'a> Clone for Postscript<'a>
source§fn clone(&self) -> Postscript<'a>
fn clone(&self) -> Postscript<'a>
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 Postscript<'_>
impl Debug for Postscript<'_>
source§impl<'a> Follow<'a> for Postscript<'a>
impl<'a> Follow<'a> for Postscript<'a>
source§impl<'a> PartialEq for Postscript<'a>
impl<'a> PartialEq for Postscript<'a>
source§impl Verifiable for Postscript<'_>
impl Verifiable for Postscript<'_>
impl<'a> Copy for Postscript<'a>
impl<'a> StructuralPartialEq for Postscript<'a>
Auto Trait Implementations§
impl<'a> Freeze for Postscript<'a>
impl<'a> RefUnwindSafe for Postscript<'a>
impl<'a> Send for Postscript<'a>
impl<'a> Sync for Postscript<'a>
impl<'a> Unpin for Postscript<'a>
impl<'a> UnwindSafe for Postscript<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)