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