Trait duskphantom_graph::GraphNodeFromStr

source ·
pub trait GraphNodeFromStr: GraphNode {
    // Required method
    fn from_str(input: &str) -> Result<Self>
       where Self: Sized;
}

Required Methods§

source

fn from_str(input: &str) -> Result<Self>
where Self: Sized,

Parse the node from a str

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> GraphNodeFromStr for T
where T: FromStr + GraphNode,