Enum ndk::hardware_buffer::HardwareBufferFormat [−][src]
#[repr(u32)]
pub enum HardwareBufferFormat {
Show 14 variants
R8G8B8A8_UNORM,
R8G8B8X8_UNORM,
R8G8B8_UNORM,
R5G6B5_UNORM,
R16G16B16A16_FLOAT,
R10G10B10A2_UNORM,
BLOB,
D16_UNORM,
D24_UNORM,
D24_UNORM_S8_UINT,
D32_FLOAT,
D32_FLOAT_S8_UINT,
S8_UINT,
Y8Cb8Cr8_420,
}
Variants
R8G8B8A8_UNORM
R8G8B8X8_UNORM
R8G8B8_UNORM
R5G6B5_UNORM
R16G16B16A16_FLOAT
R10G10B10A2_UNORM
BLOB
D16_UNORM
D24_UNORM
D24_UNORM_S8_UINT
D32_FLOAT
D32_FLOAT_S8_UINT
S8_UINT
Y8Cb8Cr8_420
Trait Implementations
Performs the conversion.
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for HardwareBufferFormat
impl Send for HardwareBufferFormat
impl Sync for HardwareBufferFormat
impl Unpin for HardwareBufferFormat
impl UnwindSafe for HardwareBufferFormat
Blanket Implementations
Mutably borrows from an owned value. Read more