pub struct Seed(pub Idx);Expand description
Specifies the seed for the random number generator.
Tuple Fields§
§0: IdxTrait Implementations§
source§impl Opt for Seed
impl Opt for Seed
source§const INDEX: usize = 9usize
const INDEX: usize = 9usize
Index of the option in the array from
crate::Graph::set_options and
crate::Mesh::set_options.source§fn value(self) -> Idx
fn value(self) -> Idx
Convert the value into metis’ format, for use with
crate::Graph::set_options and crate::Mesh::set_options.Auto Trait Implementations§
impl Freeze for Seed
impl RefUnwindSafe for Seed
impl Send for Seed
impl Sync for Seed
impl Unpin for Seed
impl UnwindSafe for Seed
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