pub trait OptionEdge<N, E> {
// Required methods
fn this(self) -> Option<EdgeLoop<N, E>>;
fn that(self) -> Option<EdgeLoop<N, E>>;
fn both(self) -> Option<EdgeBoth<N, E>>;
fn edge(self) -> Option<E>;
unsafe fn both_unchecked(self) -> Option<EdgeBoth<N, E>>;
}Expand description
An add-on to Option to make Edge interfacing with std more natural.