pub struct ToFloat<Inner> { /* private fields */ }
Expand description
Convert random uint values to floating point numbers in the range [0, 1).
Implementations
Trait Implementations
sourceimpl<Inner: Noise> Noise for ToFloat<Inner> where
Inner::Value: Unsigned + PrimInt + AsPrimitive<u64>,
impl<Inner: Noise> Noise for ToFloat<Inner> where
Inner::Value: Unsigned + PrimInt + AsPrimitive<u64>,
sourceimpl<Arg, Inner: NoiseDomain<Arg>> NoiseDomain<Arg> for ToFloat<Inner> where
Inner::Value: Unsigned + PrimInt + AsPrimitive<u64>,
impl<Arg, Inner: NoiseDomain<Arg>> NoiseDomain<Arg> for ToFloat<Inner> where
Inner::Value: Unsigned + PrimInt + AsPrimitive<u64>,
impl<Inner: Copy> Copy for ToFloat<Inner>
Auto Trait Implementations
impl<Inner> RefUnwindSafe for ToFloat<Inner> where
Inner: RefUnwindSafe,
impl<Inner> Send for ToFloat<Inner> where
Inner: Send,
impl<Inner> Sync for ToFloat<Inner> where
Inner: Sync,
impl<Inner> Unpin for ToFloat<Inner> where
Inner: Unpin,
impl<Inner> UnwindSafe for ToFloat<Inner> where
Inner: 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