pub struct Contig(pub bool);
Expand description
Specifies that the partitioning routines should try to produce partitions that are contiguous.
Note that if the input graph is not connected this option is ignored.
Tuple Fields§
§0: bool
Trait Implementations§
source§impl Opt for Contig
impl Opt for Contig
source§const INDEX: usize = 12usize
const INDEX: usize = 12usize
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 Contig
impl RefUnwindSafe for Contig
impl Send for Contig
impl Sync for Contig
impl Unpin for Contig
impl UnwindSafe for Contig
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