pub struct Abs<T, Source, const DIM: usize>where
Source: NoiseFn<T, DIM>,{
pub source: Source,
/* private fields */
}
Expand description
Noise function that outputs the absolute value of the output value from the source function.
Fields
source: Source
Outputs a value.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T, Source, const DIM: usize> RefUnwindSafe for Abs<T, Source, DIM>where
Source: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, Source, const DIM: usize> Send for Abs<T, Source, DIM>where
Source: Send,
T: Send,
impl<T, Source, const DIM: usize> Sync for Abs<T, Source, DIM>where
Source: Sync,
T: Sync,
impl<T, Source, const DIM: usize> Unpin for Abs<T, Source, DIM>where
Source: Unpin,
T: Unpin,
impl<T, Source, const DIM: usize> UnwindSafe for Abs<T, Source, DIM>where
Source: 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