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> Freeze for Abs<T, Source, DIM>where
Source: Freeze,
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>
impl<T, Source, const DIM: usize> Sync for Abs<T, Source, DIM>
impl<T, Source, const DIM: usize> Unpin for Abs<T, Source, DIM>
impl<T, Source, const DIM: usize> UnwindSafe for Abs<T, Source, DIM>where
Source: UnwindSafe,
T: UnwindSafe,
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