Struct jpegxr::PixelInfo [−][src]
pub struct PixelInfo { /* fields omitted */ }
Implementations
impl PixelInfo
[src]
impl PixelInfo
[src]pub struct PixelInfo { /* fields omitted */ }
impl PixelInfo
[src]pub fn from_format(format: PixelFormat) -> Self
[src]pub fn format(&self) -> PixelFormat
[src]pub fn channels(&self) -> usize
[src]pub fn color_format(&self) -> ColorFormat
[src]pub fn bit_depth(&self) -> BitDepthBits
[src]pub fn bits_per_pixel(&self) -> usize
[src]pub fn has_alpha(&self) -> bool
[src]pub fn premultiplied_alpha(&self) -> bool
[src]pub fn bgr(&self) -> bool
[src]pub fn photometric_interpretation(&self) -> PhotometricInterpretation
[src]pub fn samples_per_pixel(&self) -> usize
[src]impl RefUnwindSafe for PixelInfo
impl !Send for PixelInfo
impl !Sync for PixelInfo
impl Unpin for PixelInfo
impl UnwindSafe for PixelInfo