[][src]Trait krates::KrateDetails

pub trait KrateDetails {
    fn name(&self) -> &str;
fn version(&self) -> &Version; }

A trait that can be applied to the type stored in the graph nodes to give additional features on Krates.

Required methods

fn name(&self) -> &str

The name of the crate

fn version(&self) -> &Version

The version of the crate

Loading content...

Implementations on Foreign Types

impl KrateDetails for Package[src]

Loading content...

Implementors

Loading content...