pub struct Max<'a, T> {
pub source1: &'a dyn NoiseFn<T>,
pub source2: &'a dyn NoiseFn<T>,
}
Expand description
Noise function that outputs the larger of the two output values from two source functions.
Fields§
§source1: &'a dyn NoiseFn<T>
Outputs a value.
source2: &'a dyn NoiseFn<T>
Outputs a value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for Max<'a, T>
impl<'a, T> !Send for Max<'a, T>
impl<'a, T> !Sync for Max<'a, T>
impl<'a, T> Unpin for Max<'a, T>
impl<'a, T> !UnwindSafe for Max<'a, T>
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