Trait SubjectTraversableGraph

Source
pub trait SubjectTraversableGraph: Graph {
    type GraphSubjects<'a>: Iterator<Item = &'a Self::Resource>
       where Self: 'a;

    // Required method
    fn graph_subjects(&self) -> Self::GraphSubjects<'_>;

    // Provided method
    fn graph_subject_count(&self) -> usize { ... }
}

Required Associated Types§

Source

type GraphSubjects<'a>: Iterator<Item = &'a Self::Resource> where Self: 'a

Required Methods§

Source

fn graph_subjects(&self) -> Self::GraphSubjects<'_>

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§