pub enum FilterStrength {
None,
Weak,
Strong,
}Expand description
Filter strength levels.
Variants§
Implementations§
Source§impl FilterStrength
impl FilterStrength
Sourcepub fn from_angle_and_size(angle: i16, width: usize, height: usize) -> Self
pub fn from_angle_and_size(angle: i16, width: usize, height: usize) -> Self
Determine filter strength based on angle and block size.
Trait Implementations§
Source§impl Clone for FilterStrength
impl Clone for FilterStrength
Source§fn clone(&self) -> FilterStrength
fn clone(&self) -> FilterStrength
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 FilterStrength
impl Debug for FilterStrength
Source§impl Default for FilterStrength
impl Default for FilterStrength
Source§fn default() -> FilterStrength
fn default() -> FilterStrength
Returns the “default value” for a type. Read more
Source§impl PartialEq for FilterStrength
impl PartialEq for FilterStrength
impl Copy for FilterStrength
impl Eq for FilterStrength
impl StructuralPartialEq for FilterStrength
Auto Trait Implementations§
impl Freeze for FilterStrength
impl RefUnwindSafe for FilterStrength
impl Send for FilterStrength
impl Sync for FilterStrength
impl Unpin for FilterStrength
impl UnsafeUnpin for FilterStrength
impl UnwindSafe for FilterStrength
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