Trait GraphMetadata

Source
pub trait GraphMetadata<'g> {
    type Id: Copy + Eq + Hash + Debug;

    // Required method
    fn id(&self) -> Self::Id;
}

Required Associated Types§

Source

type Id: Copy + Eq + Hash + Debug

Required Methods§

Source

fn id(&self) -> Self::Id

Implementations on Foreign Types§

Source§

impl<'g> GraphMetadata<'g> for FeatureMetadata<'g>

Source§

type Id = FeatureId<'g>

Source§

fn id(&self) -> Self::Id

Source§

impl<'g> GraphMetadata<'g> for PackageMetadata<'g>

Source§

type Id = &'g PackageId

Source§

fn id(&self) -> Self::Id

Implementors§