pub struct ImageReport {
pub width: u32,
pub height: u32,
pub stats: PixelStats,
pub fully_transparent: bool,
pub non_trivial: bool,
}Expand description
Decoded-image verdict.
Fields§
§width: u32§height: u32§stats: PixelStatsStats of the IMAGE_EDGE box-downscaled RGB (alpha composited over black).
fully_transparent: boolEvery pixel has alpha 0.
non_trivial: boolNot fully transparent, and some channel’s range exceeds IMAGE_RANGE_MIN.
Trait Implementations§
Source§impl Clone for ImageReport
impl Clone for ImageReport
Source§impl Debug for ImageReport
impl Debug for ImageReport
Source§impl PartialEq for ImageReport
impl PartialEq for ImageReport
Source§impl Serialize for ImageReport
impl Serialize for ImageReport
impl StructuralPartialEq for ImageReport
Auto Trait Implementations§
impl Freeze for ImageReport
impl RefUnwindSafe for ImageReport
impl Send for ImageReport
impl Sync for ImageReport
impl Unpin for ImageReport
impl UnsafeUnpin for ImageReport
impl UnwindSafe for ImageReport
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