pub struct ActivityMask {
variances: Box<[u32]>,
}
Fields§
§variances: Box<[u32]>
Implementations§
Source§impl ActivityMask
impl ActivityMask
pub fn from_plane<T: Pixel>(luma_plane: &Plane<T>) -> ActivityMask
pub fn fill_scales( &self, bit_depth: usize, activity_scales: &mut Box<[DistortionScale]>, )
Trait Implementations§
Source§impl Clone for ActivityMask
impl Clone for ActivityMask
Source§fn clone(&self) -> ActivityMask
fn clone(&self) -> ActivityMask
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 moreSource§impl Debug for ActivityMask
impl Debug for ActivityMask
Source§impl Default for ActivityMask
impl Default for ActivityMask
Source§fn default() -> ActivityMask
fn default() -> ActivityMask
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActivityMask
impl RefUnwindSafe for ActivityMask
impl Send for ActivityMask
impl Sync for ActivityMask
impl Unpin for ActivityMask
impl UnwindSafe for ActivityMask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more