Enum azul_webrender_api::ExternalImageType [−][src]
#[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.
The image is heap-allocated by the embedding.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ExternalImageType
impl Send for ExternalImageType
impl Sync for ExternalImageType
impl Unpin for ExternalImageType
impl UnwindSafe for ExternalImageType
Blanket Implementations
Mutably borrows from an owned value. Read more