pub struct CompositeStats {}Expand description
Per-channel statistics over a composited image.
Fields§
§min_r: f32§max_r: f32§mean_r: f32§min_g: f32§max_g: f32§mean_g: f32§min_b: f32§max_b: f32§mean_b: f32§min_a: f32§max_a: f32§mean_a: f32§transparent_pixel_count: u64Number of pixels where alpha < 1e-4 (effectively transparent).
Trait Implementations§
Source§impl Clone for CompositeStats
impl Clone for CompositeStats
Source§fn clone(&self) -> CompositeStats
fn clone(&self) -> CompositeStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompositeStats
impl RefUnwindSafe for CompositeStats
impl Send for CompositeStats
impl Sync for CompositeStats
impl Unpin for CompositeStats
impl UnsafeUnpin for CompositeStats
impl UnwindSafe for CompositeStats
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