Struct plasma::PlasmaMixer
source · pub struct PlasmaMixer;
Expand description
A default implementation of a Mixer is provided for this struct.
Implementations§
source§impl PlasmaMixer
impl PlasmaMixer
pub const fn new() -> PlasmaMixer
Trait Implementations§
source§impl Clone for PlasmaMixer
impl Clone for PlasmaMixer
source§fn clone(&self) -> PlasmaMixer
fn clone(&self) -> PlasmaMixer
Returns a copy 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 PlasmaMixer
impl Debug for PlasmaMixer
source§impl Mixer<f32> for PlasmaMixer
impl Mixer<f32> for PlasmaMixer
source§type IntermediateH = [f32; 6]
type IntermediateH = [f32; 6]
This type should be an array of the type T for an intermediate horizontal data.
source§type IntermediateV = [f32; 6]
type IntermediateV = [f32; 6]
This type should be an array of the type T for an intermediate vertical data.
source§fn mix_pixels(
vxp: &Self::IntermediateH,
vyp: &Self::IntermediateV,
next_pixel: &mut dyn FnMut(PixelRgb),
)
fn mix_pixels( vxp: &Self::IntermediateH, vyp: &Self::IntermediateV, next_pixel: &mut dyn FnMut(PixelRgb), )
source§fn intermediate_h_len() -> usize
fn intermediate_h_len() -> usize
Returns the number of intermediate horizontal values.
source§fn intermediate_v_len() -> usize
fn intermediate_v_len() -> usize
Returns the number of intermediate vertical values.
source§impl PartialEq for PlasmaMixer
impl PartialEq for PlasmaMixer
impl Copy for PlasmaMixer
impl StructuralPartialEq for PlasmaMixer
Auto Trait Implementations§
impl Freeze for PlasmaMixer
impl RefUnwindSafe for PlasmaMixer
impl Send for PlasmaMixer
impl Sync for PlasmaMixer
impl Unpin for PlasmaMixer
impl UnwindSafe for PlasmaMixer
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)