pub enum ObjType {
Cut,
Vol,
}Expand description
Specifies the type of objective.
Variants§
Trait Implementations§
source§impl Opt for ObjType
impl Opt for ObjType
source§const INDEX: usize = 1usize
const INDEX: usize = 1usize
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 ObjType
impl RefUnwindSafe for ObjType
impl Send for ObjType
impl Sync for ObjType
impl Unpin for ObjType
impl UnwindSafe for ObjType
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