Struct gltf::texture::Info [−][src]
pub struct Info<'a> { /* fields omitted */ }A reference to a Texture.
Methods
impl<'a> Info<'a>[src]
impl<'a> Info<'a>pub fn tex_coord(&self) -> u32[src]
pub fn tex_coord(&self) -> u32The set index of the texture's TEXCOORD attribute.
pub fn texture(&self) -> Texture<'a>[src]
pub fn texture(&self) -> Texture<'a>Returns the referenced Texture.
pub fn extras(&self) -> &Extras[src]
pub fn extras(&self) -> &ExtrasOptional application specific data.
Trait Implementations
impl<'a> Clone for Info<'a>[src]
impl<'a> Clone for Info<'a>fn clone(&self) -> Info<'a>[src]
fn clone(&self) -> Info<'a>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<'a> Debug for Info<'a>[src]
impl<'a> Debug for Info<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> AsRef<Texture<'a>> for Info<'a>[src]
impl<'a> AsRef<Texture<'a>> for Info<'a>