pub struct PixelSortEffectConfig {
pub direction: SortDirection,
pub sort_key: SortKey,
pub threshold_low: f32,
pub threshold_high: f32,
pub intensity: f32,
pub seed: u64,
pub enabled: bool,
}Expand description
Config.
Fields§
§direction: SortDirection§sort_key: SortKey§threshold_low: f32Luminance threshold below which pixels are sorted 0..=1.
threshold_high: f32Luminance threshold above which pixels are sorted 0..=1.
intensity: f32Intensity of the effect 0..=1.
seed: u64Seed for row/column selection.
enabled: boolTrait Implementations§
Source§impl Clone for PixelSortEffectConfig
impl Clone for PixelSortEffectConfig
Source§fn clone(&self) -> PixelSortEffectConfig
fn clone(&self) -> PixelSortEffectConfig
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 PixelSortEffectConfig
impl Debug for PixelSortEffectConfig
Source§impl Default for PixelSortEffectConfig
impl Default for PixelSortEffectConfig
Source§impl PartialEq for PixelSortEffectConfig
impl PartialEq for PixelSortEffectConfig
impl StructuralPartialEq for PixelSortEffectConfig
Auto Trait Implementations§
impl Freeze for PixelSortEffectConfig
impl RefUnwindSafe for PixelSortEffectConfig
impl Send for PixelSortEffectConfig
impl Sync for PixelSortEffectConfig
impl Unpin for PixelSortEffectConfig
impl UnsafeUnpin for PixelSortEffectConfig
impl UnwindSafe for PixelSortEffectConfig
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