pub struct Predictor {
pub predictor: u8,
pub colors: u8,
pub bits_per_component: u8,
pub columns: u16,
}Expand description
/DecodeParms predictor settings, with the defaults from §7.4.4.4.
Fields§
§predictor: u81 = none, 2 = TIFF, 10–15 = PNG filters.
colors: u8Colour components per pixel, default 1.
bits_per_component: u8Bits per component, default 8.
columns: u16Bytes per row divided by the pixel size, default 1.
Implementations§
Trait Implementations§
impl Copy for Predictor
impl Eq for Predictor
impl StructuralPartialEq for Predictor
Auto Trait Implementations§
impl Forget for Predictor
impl Freeze for Predictor
impl Move for Predictor
impl RefUnwindSafe for Predictor
impl Send for Predictor
impl Sync for Predictor
impl Unpin for Predictor
impl UnsafeUnpin for Predictor
impl UnwindSafe for Predictor
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