1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use information::InformationAssociator; use information::InformationOrganizer; use information::InformationProvider; pub trait GraphInformation<TInformation>: InformationAssociator<TInformation> + InformationOrganizer + InformationProvider<TInformation> { } impl <T, TInformation> GraphInformation<TInformation> for T where T: InformationAssociator<TInformation> + InformationOrganizer + InformationProvider<TInformation> { }