pub struct Geometry<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> Geometry<'a>
impl<'a> Geometry<'a>
pub const VT_TYPE_: VOffsetT = 4
pub const VT_LOD: VOffsetT = 6
pub const VT_SOLIDS: VOffsetT = 8
pub const VT_SHELLS: VOffsetT = 10
pub const VT_SURFACES: VOffsetT = 12
pub const VT_STRINGS: VOffsetT = 14
pub const VT_BOUNDARIES: VOffsetT = 16
pub const VT_SEMANTICS: VOffsetT = 18
pub const VT_SEMANTICS_OBJECTS: VOffsetT = 20
pub const VT_MATERIAL: VOffsetT = 22
pub const VT_TEXTURE: VOffsetT = 24
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 GeometryArgs<'args>, ) -> WIPOffset<Geometry<'bldr>>
pub fn type_(&self) -> GeometryType
pub fn lod(&self) -> Option<&'a str>
pub fn solids(&self) -> Option<Vector<'a, u32>>
pub fn shells(&self) -> Option<Vector<'a, u32>>
pub fn surfaces(&self) -> Option<Vector<'a, u32>>
pub fn strings(&self) -> Option<Vector<'a, u32>>
pub fn boundaries(&self) -> Option<Vector<'a, u32>>
pub fn semantics(&self) -> Option<Vector<'a, u32>>
pub fn semantics_objects( &self, ) -> Option<Vector<'a, ForwardsUOffset<SemanticObject<'a>>>>
pub fn material( &self, ) -> Option<Vector<'a, ForwardsUOffset<MaterialMapping<'a>>>>
pub fn texture(&self) -> Option<Vector<'a, ForwardsUOffset<TextureMapping<'a>>>>
Trait Implementations§
Source§impl<'a> PartialEq for Geometry<'a>
impl<'a> PartialEq for Geometry<'a>
impl<'a> Copy for Geometry<'a>
impl<'a> StructuralPartialEq for Geometry<'a>
Auto Trait Implementations§
impl<'a> Freeze for Geometry<'a>
impl<'a> RefUnwindSafe for Geometry<'a>
impl<'a> Send for Geometry<'a>
impl<'a> Sync for Geometry<'a>
impl<'a> Unpin for Geometry<'a>
impl<'a> UnsafeUnpin for Geometry<'a>
impl<'a> UnwindSafe for Geometry<'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