pub struct Constant<Value: Copy> { /* private fields */ }
Expand description
A noise function returning a constant value.
Implementations
Trait Implementations
sourceimpl<Arg, Value: Copy> NoiseDomain<Arg> for Constant<Value>
impl<Arg, Value: Copy> NoiseDomain<Arg> for Constant<Value>
impl<Value: Copy + Copy> Copy for Constant<Value>
Auto Trait Implementations
impl<Value> RefUnwindSafe for Constant<Value> where
Value: RefUnwindSafe,
impl<Value> Send for Constant<Value> where
Value: Send,
impl<Value> Sync for Constant<Value> where
Value: Sync,
impl<Value> Unpin for Constant<Value> where
Value: Unpin,
impl<Value> UnwindSafe for Constant<Value> where
Value: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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