#[repr(i32)]pub enum Graph {
Cutoff = 0,
Mutual = 1,
Seeded = 2,
}Expand description
Neighbour graph.
assert_eq!(seams::Graph::Cutoff as i32, 0);
assert_eq!(seams::Graph::Mutual as i32, 1);
assert_eq!(seams::Graph::Seeded as i32, 2);Variants§
Cutoff = 0
Every pair inside the cutoff.
Mutual = 1
Mutual four-nearest neighbours.
Seeded = 2
Cage graph: mutual seeds and union completions.
Trait Implementations§
impl Copy for Graph
impl Eq for Graph
impl StructuralPartialEq for Graph
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnsafeUnpin for Graph
impl UnwindSafe for Graph
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