Struct vortex_flatbuffers::message::Message
source · pub struct Message<'a> {
pub _tab: Table<'a>,
}
Fields§
§_tab: Table<'a>
Implementations§
source§impl<'a> Message<'a>
impl<'a> Message<'a>
pub const VT_VERSION: VOffsetT = 4u16
pub const VT_HEADER_TYPE: VOffsetT = 6u16
pub const VT_HEADER: VOffsetT = 8u16
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 MessageArgs, ) -> WIPOffset<Message<'bldr>>
pub fn version(&self) -> MessageVersion
pub fn header_type(&self) -> MessageHeader
pub fn header(&self) -> Option<Table<'a>>
pub fn header_as_array_data(&self) -> Option<ArrayData<'a>>
pub fn header_as_buffer(&self) -> Option<Buffer<'a>>
pub fn header_as_dtype(&self) -> Option<DType<'a>>
Trait Implementations§
impl<'a> Copy for Message<'a>
impl<'a> StructuralPartialEq for Message<'a>
Auto Trait Implementations§
impl<'a> Freeze for Message<'a>
impl<'a> RefUnwindSafe for Message<'a>
impl<'a> Send for Message<'a>
impl<'a> Sync for Message<'a>
impl<'a> Unpin for Message<'a>
impl<'a> UnwindSafe for Message<'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
)