Enum webrender_api::ImageData
[−]
[src]
pub enum ImageData { Raw(Arc<Vec<u8>>), Blob(BlobImageData), External(ExternalImageData), }
Variants
Raw(Arc<Vec<u8>>)
Blob(BlobImageData)
External(ExternalImageData)
Methods
impl ImageData
[src]
pub fn new(bytes: Vec<u8>) -> ImageData
[src]
[src]
pub fn new_blob_image(commands: Vec<u8>) -> ImageData
[src]
pub fn is_blob(&self) -> bool
[src]
pub fn uses_texture_cache(&self) -> bool
[src]
Trait Implementations
impl Clone for ImageData
[src]
fn clone(&self) -> ImageData
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more