Enum dae_parser::ImageSource
source · pub enum ImageSource {
Data(Box<[u8]>),
InitFrom(Url),
}
Expand description
A specification of the source of data for an image.
Variants§
Data(Box<[u8]>)
The data is provided directly as a byte buffer.
InitFrom(Url)
A URI that specifies an external image file.
Implementations§
source§impl ImageSource
impl ImageSource
Trait Implementations§
source§impl Clone for ImageSource
impl Clone for ImageSource
source§fn clone(&self) -> ImageSource
fn clone(&self) -> ImageSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more