pub struct SemanticObject<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> SemanticObject<'a>
impl<'a> SemanticObject<'a>
pub const VT_TYPE_: VOffsetT = 4
pub const VT_ATTRIBUTES: VOffsetT = 6
pub const VT_CHILDREN: VOffsetT = 8
pub const VT_PARENT: VOffsetT = 10
pub const VT_EXTENSION_TYPE: VOffsetT = 12
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 SemanticObjectArgs<'args>, ) -> WIPOffset<SemanticObject<'bldr>>
pub fn type_(&self) -> SemanticSurfaceType
pub fn attributes(&self) -> Option<Vector<'a, u8>>
pub fn children(&self) -> Option<Vector<'a, u32>>
pub fn parent(&self) -> Option<u32>
pub fn extension_type(&self) -> Option<&'a str>
Trait Implementations§
Source§impl<'a> Clone for SemanticObject<'a>
impl<'a> Clone for SemanticObject<'a>
Source§fn clone(&self) -> SemanticObject<'a>
fn clone(&self) -> SemanticObject<'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 moreSource§impl Debug for SemanticObject<'_>
impl Debug for SemanticObject<'_>
Source§impl<'a> Follow<'a> for SemanticObject<'a>
impl<'a> Follow<'a> for SemanticObject<'a>
Source§impl<'a> PartialEq for SemanticObject<'a>
impl<'a> PartialEq for SemanticObject<'a>
Source§fn eq(&self, other: &SemanticObject<'a>) -> bool
fn eq(&self, other: &SemanticObject<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Verifiable for SemanticObject<'_>
impl Verifiable for SemanticObject<'_>
impl<'a> Copy for SemanticObject<'a>
impl<'a> StructuralPartialEq for SemanticObject<'a>
Auto Trait Implementations§
impl<'a> Freeze for SemanticObject<'a>
impl<'a> RefUnwindSafe for SemanticObject<'a>
impl<'a> Send for SemanticObject<'a>
impl<'a> Sync for SemanticObject<'a>
impl<'a> Unpin for SemanticObject<'a>
impl<'a> UnsafeUnpin for SemanticObject<'a>
impl<'a> UnwindSafe for SemanticObject<'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