Struct png_decoder::PngHeader
source · [−]pub struct PngHeader {
pub width: u32,
pub height: u32,
pub bit_depth: BitDepth,
pub color_type: ColorType,
pub compression_method: CompressionMethod,
pub filter_method: FilterMethod,
pub interlace_method: InterlaceMethod,
}
Fields
width: u32
height: u32
bit_depth: BitDepth
color_type: ColorType
compression_method: CompressionMethod
filter_method: FilterMethod
interlace_method: InterlaceMethod
Trait Implementations
impl Eq for PngHeader
impl StructuralEq for PngHeader
impl StructuralPartialEq for PngHeader
Auto Trait Implementations
impl RefUnwindSafe for PngHeader
impl Send for PngHeader
impl Sync for PngHeader
impl Unpin for PngHeader
impl UnwindSafe for PngHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more