pub enum InterpType {
None,
Linear,
Cubic,
Quintic,
}
Expand description
Variants§
None
No interpolation at all is performed
Linear
Lattice values are linearly interpolated.
Cubic
Lattice values are performed using cubic interpolation.
Quintic
Lattice values are interpolated using quintic interpolation. This results in the highest quality of noise.
Trait Implementations§
Source§impl Clone for InterpType
impl Clone for InterpType
Source§fn clone(&self) -> InterpType
fn clone(&self) -> InterpType
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 InterpType
impl Debug for InterpType
Source§impl PartialEq for InterpType
impl PartialEq for InterpType
impl StructuralPartialEq for InterpType
Auto Trait Implementations§
impl Freeze for InterpType
impl RefUnwindSafe for InterpType
impl Send for InterpType
impl Sync for InterpType
impl Unpin for InterpType
impl UnwindSafe for InterpType
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