Enum webrender_api::image::ExternalImageType
source · #[repr(u8)]pub enum ExternalImageType {
TextureHandle(ImageBufferKind),
Buffer,
}
Expand description
Storage format identifier for externally-managed images.
Variants§
TextureHandle(ImageBufferKind)
The image is texture-backed.
Buffer
The image is heap-allocated by the embedding.
Trait Implementations§
source§impl Clone for ExternalImageType
impl Clone for ExternalImageType
source§fn clone(&self) -> ExternalImageType
fn clone(&self) -> ExternalImageType
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 moresource§impl Debug for ExternalImageType
impl Debug for ExternalImageType
source§impl<'de> Deserialize<'de> for ExternalImageType
impl<'de> Deserialize<'de> for ExternalImageType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ExternalImageType
impl Hash for ExternalImageType
source§impl PartialEq for ExternalImageType
impl PartialEq for ExternalImageType
source§fn eq(&self, other: &ExternalImageType) -> bool
fn eq(&self, other: &ExternalImageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExternalImageType
impl Serialize for ExternalImageType
impl Copy for ExternalImageType
impl Eq for ExternalImageType
impl StructuralPartialEq for ExternalImageType
Auto Trait Implementations§
impl Freeze for ExternalImageType
impl RefUnwindSafe for ExternalImageType
impl Send for ExternalImageType
impl Sync for ExternalImageType
impl Unpin for ExternalImageType
impl UnwindSafe for ExternalImageType
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