Enum nice_smile::pattern::EdgeType
source · pub enum EdgeType {
Directed(usize, usize),
Undirected,
Absent,
}Expand description
The type of an edge in a pattern
Variants§
Directed(usize, usize)
An edge that is directed. The first argument is the source node index, the second is the target node index
Undirected
An edge that is undirected
Absent
An absent edge
Trait Implementations§
source§impl From<EdgeType> for DSL_pattern_EdgeType
impl From<EdgeType> for DSL_pattern_EdgeType
source§impl PartialEq for EdgeType
impl PartialEq for EdgeType
impl Eq for EdgeType
impl StructuralPartialEq for EdgeType
Auto Trait Implementations§
impl Freeze for EdgeType
impl RefUnwindSafe for EdgeType
impl Send for EdgeType
impl Sync for EdgeType
impl Unpin for EdgeType
impl UnwindSafe for EdgeType
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