pub struct ComplexDistribution<Re, Im = Re> { /* private fields */ }Expand description
A generic random value distribution for complex numbers.
Implementations§
Source§impl<Re, Im> ComplexDistribution<Re, Im>
impl<Re, Im> ComplexDistribution<Re, Im>
Trait Implementations§
impl<Re: Copy, Im: Copy> Copy for ComplexDistribution<Re, Im>
Source§impl<T, Re, Im> Distribution<Complex<T>> for ComplexDistribution<Re, Im>where
Re: Distribution<T>,
Im: Distribution<T>,
impl<T, Re, Im> Distribution<Complex<T>> for ComplexDistribution<Re, Im>where
Re: Distribution<T>,
Im: Distribution<T>,
Auto Trait Implementations§
impl<Re, Im> Freeze for ComplexDistribution<Re, Im>
impl<Re, Im> RefUnwindSafe for ComplexDistribution<Re, Im>where
Re: RefUnwindSafe,
Im: RefUnwindSafe,
impl<Re, Im> Send for ComplexDistribution<Re, Im>
impl<Re, Im> Sync for ComplexDistribution<Re, Im>
impl<Re, Im> Unpin for ComplexDistribution<Re, Im>
impl<Re, Im> UnsafeUnpin for ComplexDistribution<Re, Im>where
Re: UnsafeUnpin,
Im: UnsafeUnpin,
impl<Re, Im> UnwindSafe for ComplexDistribution<Re, Im>where
Re: UnwindSafe,
Im: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more