Enum dae_parser::ImageSource
source · [−]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
sourceimpl ImageSource
impl ImageSource
Trait Implementations
sourceimpl Clone for ImageSource
impl Clone for ImageSource
sourcefn clone(&self) -> ImageSource
fn clone(&self) -> ImageSource
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for ImageSource
impl Send for ImageSource
impl Sync for ImageSource
impl Unpin for ImageSource
impl UnwindSafe for ImageSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more