pub struct Texture<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> Texture<'a>
impl<'a> Texture<'a>
pub const VT_TYPE_: VOffsetT = 4
pub const VT_IMAGE: VOffsetT = 6
pub const VT_WRAP_MODE: VOffsetT = 8
pub const VT_TEXTURE_TYPE: VOffsetT = 10
pub const VT_BORDER_COLOR: 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 TextureArgs<'args>, ) -> WIPOffset<Texture<'bldr>>
pub fn type_(&self) -> TextureFormat
pub fn image(&self) -> &'a str
pub fn wrap_mode(&self) -> Option<WrapMode>
pub fn texture_type(&self) -> Option<TextureType>
pub fn border_color(&self) -> Option<Vector<'a, f64>>
Trait Implementations§
Source§impl<'a> PartialEq for Texture<'a>
impl<'a> PartialEq for Texture<'a>
impl<'a> Copy for Texture<'a>
impl<'a> StructuralPartialEq for Texture<'a>
Auto Trait Implementations§
impl<'a> Freeze for Texture<'a>
impl<'a> RefUnwindSafe for Texture<'a>
impl<'a> Send for Texture<'a>
impl<'a> Sync for Texture<'a>
impl<'a> Unpin for Texture<'a>
impl<'a> UnsafeUnpin for Texture<'a>
impl<'a> UnwindSafe for Texture<'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