Struct num_complex::ComplexDistribution
source · 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§
source§impl<Re: Clone, Im: Clone> Clone for ComplexDistribution<Re, Im>
impl<Re: Clone, Im: Clone> Clone for ComplexDistribution<Re, Im>
source§fn clone(&self) -> ComplexDistribution<Re, Im>
fn clone(&self) -> ComplexDistribution<Re, Im>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T, Re, Im> Distribution<Complex<T>> for ComplexDistribution<Re, Im>
impl<T, Re, Im> Distribution<Complex<T>> for ComplexDistribution<Re, Im>
impl<Re: Copy, Im: Copy> Copy for ComplexDistribution<Re, Im>
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> UnwindSafe for ComplexDistribution<Re, Im>where
Re: UnwindSafe,
Im: UnwindSafe,
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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