pub enum RngType {
Mt19937,
Glibc2,
Pcg32,
Pcg64,
}Expand description
The random number generator algorithms shipped with igraph.
Variants§
Mt19937
Mersenne Twister MT19937.
Glibc2
The generator of the GNU C library (random()).
Pcg32
PCG32 (the algorithm of igraph’s default generator).
Pcg64
PCG64.
Implementations§
Trait Implementations§
impl Copy for RngType
impl Eq for RngType
impl StructuralPartialEq for RngType
Auto Trait Implementations§
impl Freeze for RngType
impl RefUnwindSafe for RngType
impl Send for RngType
impl Sync for RngType
impl Unpin for RngType
impl UnsafeUnpin for RngType
impl UnwindSafe for RngType
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