pub struct MaterialMapping<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> MaterialMapping<'a>
impl<'a> MaterialMapping<'a>
pub const VT_THEME: VOffsetT = 4
pub const VT_SOLIDS: VOffsetT = 6
pub const VT_SHELLS: VOffsetT = 8
pub const VT_VERTICES: VOffsetT = 10
pub const VT_VALUE: 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 MaterialMappingArgs<'args>, ) -> WIPOffset<MaterialMapping<'bldr>>
pub fn theme(&self) -> Option<&'a str>
pub fn solids(&self) -> Option<Vector<'a, u32>>
pub fn shells(&self) -> Option<Vector<'a, u32>>
pub fn vertices(&self) -> Option<Vector<'a, u32>>
pub fn value(&self) -> Option<u32>
Trait Implementations§
Source§impl<'a> Clone for MaterialMapping<'a>
impl<'a> Clone for MaterialMapping<'a>
Source§fn clone(&self) -> MaterialMapping<'a>
fn clone(&self) -> MaterialMapping<'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 MaterialMapping<'_>
impl Debug for MaterialMapping<'_>
Source§impl<'a> Follow<'a> for MaterialMapping<'a>
impl<'a> Follow<'a> for MaterialMapping<'a>
Source§impl<'a> PartialEq for MaterialMapping<'a>
impl<'a> PartialEq for MaterialMapping<'a>
Source§fn eq(&self, other: &MaterialMapping<'a>) -> bool
fn eq(&self, other: &MaterialMapping<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Verifiable for MaterialMapping<'_>
impl Verifiable for MaterialMapping<'_>
impl<'a> Copy for MaterialMapping<'a>
impl<'a> StructuralPartialEq for MaterialMapping<'a>
Auto Trait Implementations§
impl<'a> Freeze for MaterialMapping<'a>
impl<'a> RefUnwindSafe for MaterialMapping<'a>
impl<'a> Send for MaterialMapping<'a>
impl<'a> Sync for MaterialMapping<'a>
impl<'a> Unpin for MaterialMapping<'a>
impl<'a> UnsafeUnpin for MaterialMapping<'a>
impl<'a> UnwindSafe for MaterialMapping<'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