pub struct AlphaSummary {
pub total_pixels: u64,
pub transparent_pixels: u64,
pub partial_pixels: u64,
pub opaque_pixels: u64,
pub transparent_corners: u8,
}Expand description
Alpha validation counters returned after background removal.
Fields§
§total_pixels: u64Total decoded pixels.
transparent_pixels: u64Fully transparent pixels.
partial_pixels: u64Partially transparent antialiasing pixels.
opaque_pixels: u64Fully opaque pixels.
transparent_corners: u8Transparent pixels among the four corners.
Trait Implementations§
Source§impl Clone for AlphaSummary
impl Clone for AlphaSummary
Source§fn clone(&self) -> AlphaSummary
fn clone(&self) -> AlphaSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AlphaSummary
Source§impl Debug for AlphaSummary
impl Debug for AlphaSummary
impl Eq for AlphaSummary
Source§impl PartialEq for AlphaSummary
impl PartialEq for AlphaSummary
impl StructuralPartialEq for AlphaSummary
Auto Trait Implementations§
impl Freeze for AlphaSummary
impl RefUnwindSafe for AlphaSummary
impl Send for AlphaSummary
impl Sync for AlphaSummary
impl Unpin for AlphaSummary
impl UnsafeUnpin for AlphaSummary
impl UnwindSafe for AlphaSummary
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