pub trait Opt: Sealed {
const INDEX: usize;
// Required method
fn value(self) -> Idx;
}
Expand description
Trait implemented by METIS’ options.
See crate::Graph::set_options
for an example. It is also used in
crate::Mesh::set_options
.
Required Associated Constants§
sourceconst INDEX: usize
const INDEX: usize
Index of the option in the array from crate::Graph::set_options
and
crate::Mesh::set_options
.
Required Methods§
sourcefn 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
.
Object Safety§
This trait is not object safe.