pub struct ThreadPointer<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> ThreadPointer<'a>
impl<'a> ThreadPointer<'a>
pub const VT_KIND: VOffsetT = 4
pub const VT_ID: VOffsetT = 6
pub const VT_COORD: VOffsetT = 8
pub const VT_URI: VOffsetT = 10
pub const VT_RELAY: VOffsetT = 12
pub const VT_HAS_KIND_NUM: VOffsetT = 14
pub const VT_KIND_NUM: VOffsetT = 16
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 ThreadPointerArgs<'args>, ) -> WIPOffset<ThreadPointer<'bldr>>
pub fn kind(&self) -> ThreadPointerKind
pub fn id(&self) -> Option<&'a str>
pub fn coord(&self) -> Option<&'a str>
pub fn uri(&self) -> Option<&'a str>
pub fn relay(&self) -> Option<&'a str>
pub fn has_kind_num(&self) -> bool
pub fn kind_num(&self) -> u32
Trait Implementations§
Source§impl<'a> Clone for ThreadPointer<'a>
impl<'a> Clone for ThreadPointer<'a>
Source§fn clone(&self) -> ThreadPointer<'a>
fn clone(&self) -> ThreadPointer<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for ThreadPointer<'a>
Source§impl Debug for ThreadPointer<'_>
impl Debug for ThreadPointer<'_>
Source§impl<'a> Follow<'a> for ThreadPointer<'a>
impl<'a> Follow<'a> for ThreadPointer<'a>
Source§impl<'a> PartialEq for ThreadPointer<'a>
impl<'a> PartialEq for ThreadPointer<'a>
Source§fn eq(&self, other: &ThreadPointer<'a>) -> bool
fn eq(&self, other: &ThreadPointer<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for ThreadPointer<'a>
Source§impl Verifiable for ThreadPointer<'_>
impl Verifiable for ThreadPointer<'_>
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.Auto Trait Implementations§
impl<'a> Freeze for ThreadPointer<'a>
impl<'a> RefUnwindSafe for ThreadPointer<'a>
impl<'a> Send for ThreadPointer<'a>
impl<'a> Sync for ThreadPointer<'a>
impl<'a> Unpin for ThreadPointer<'a>
impl<'a> UnsafeUnpin for ThreadPointer<'a>
impl<'a> UnwindSafe for ThreadPointer<'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