pub enum ImageReference {
    None,
    AbsolutePath(String),
    EmbeddedData {
        resource_id: usize,
        extension: String,
    },
    EmbeddedTexture {
        resource_id: usize,
    },
}Variants§
Trait Implementations§
source§impl Clone for ImageReference
 
impl Clone for ImageReference
source§fn clone(&self) -> ImageReference
 
fn clone(&self) -> ImageReference
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ImageReference
impl Send for ImageReference
impl Sync for ImageReference
impl Unpin for ImageReference
impl UnwindSafe for ImageReference
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more