#[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§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