pub struct Max<T, Source1, Source2, const DIM: usize>{
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> Freeze for Max<T, Source1, Source2, DIM>
impl<T, Source1, Source2, const DIM: usize> RefUnwindSafe for Max<T, Source1, Source2, DIM>
impl<T, Source1, Source2, const DIM: usize> Send for Max<T, Source1, Source2, DIM>
impl<T, Source1, Source2, const DIM: usize> Sync for Max<T, Source1, Source2, DIM>
impl<T, Source1, Source2, const DIM: usize> Unpin for Max<T, Source1, Source2, DIM>
impl<T, Source1, Source2, const DIM: usize> UnwindSafe for Max<T, Source1, Source2, DIM>
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