Struct gltf::image::Image [−][src]
pub struct Image<'a> { /* fields omitted */ }
Image data used to create a texture.
Methods
impl<'a> Image<'a>
[src]
impl<'a> Image<'a>
pub fn index(&self) -> usize
[src]
pub fn index(&self) -> usize
Returns the internal JSON index.
pub fn name(&self) -> Option<&str>
[src]
pub fn name(&self) -> Option<&str>
Optional user-defined name for this object.
pub fn source(&self) -> Source<'a>
[src]
pub fn source(&self) -> Source<'a>
Returns the image data source.
pub fn extras(&self) -> &Extras
[src]
pub fn extras(&self) -> &Extras
Optional application specific data.
Trait Implementations
impl<'a> Clone for Image<'a>
[src]
impl<'a> Clone for Image<'a>
fn clone(&self) -> Image<'a>
[src]
fn clone(&self) -> Image<'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 Image<'a>
[src]
impl<'a> Debug for Image<'a>