fuchsia_inspect_contrib::graph

Trait VertexId

Source
pub trait VertexId {
    // Required method
    fn get_id(&self) -> Cow<'_, str>;
}
Expand description

The ID of a vertex.

Required Methods§

Source

fn get_id(&self) -> Cow<'_, str>

Fetches the ID of a vertex, which must have a string representation.

Implementations on Foreign Types§

Source§

impl VertexId for str

Source§

fn get_id(&self) -> Cow<'_, str>

Implementors§

Source§

impl<T: Display> VertexId for T