Enum ExtraSamples
#[non_exhaustive]
#[repr(u16)]
pub enum ExtraSamples
Variants
-
Unspecified = 0 There is no specified association between the sample and the image.
-
AssociatedAlpha = 1 The sample is associated alpha, i.e. pre-multiplied color.
-
UnassociatedAlpha = 2 The sample is unassociated alpha such as a mask. There might be more than one such sample.
Implementations
impl ExtraSamples
const fn from_u16(val: u16) -> Option<Self>const fn to_u16(&self) -> u16
Trait Implementations
impl Clone for ExtraSamples
fn clone(&self) -> Self
impl Copy for ExtraSamples
impl Debug for ExtraSamples
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ExtraSamples
impl Hash for ExtraSamples
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for ExtraSamples
fn eq(&self, other: &Self) -> bool