pub struct Max<T, Source1, Source2, const DIM: usize>where
Source1: NoiseFn<T, DIM>,
Source2: NoiseFn<T, DIM>,{
pub source1: Source1,
pub source2: Source2,
/* private fields */
}
Expand description
Noise function that outputs the larger of the two output values from two source functions.
Fields
source1: Source1
Outputs a value.
source2: Source2
Outputs a value.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T, Source1, Source2, const DIM: usize> RefUnwindSafe for Max<T, Source1, Source2, DIM>where
Source1: RefUnwindSafe,
Source2: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, Source1, Source2, const DIM: usize> Send for Max<T, Source1, Source2, DIM>where
Source1: Send,
Source2: Send,
T: Send,
impl<T, Source1, Source2, const DIM: usize> Sync for Max<T, Source1, Source2, DIM>where
Source1: Sync,
Source2: Sync,
T: Sync,
impl<T, Source1, Source2, const DIM: usize> Unpin for Max<T, Source1, Source2, DIM>where
Source1: Unpin,
Source2: Unpin,
T: Unpin,
impl<T, Source1, Source2, const DIM: usize> UnwindSafe for Max<T, Source1, Source2, DIM>where
Source1: UnwindSafe,
Source2: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more