Enum gltf::image::Source [−][src]
pub enum Source<'a> {
View {
view: View<'a>,
mime_type: &'a str,
},
Uri {
uri: &'a str,
mime_type: Option<&'a str>,
},
}
Expand description
Describes an image data source.
Variants
View
Fields
view: View<'a>
The buffer view containing the encoded image data.
mime_type: &'a str
The image data MIME type.
Image data is contained in a buffer view.
Uri
Fields
uri: &'a str
The URI of the external data source.
Image data is contained in an external data source.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Source<'a>
impl<'a> UnwindSafe for Source<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more