Trait aery::edges::EdgeInfo

source ·
pub trait EdgeInfo {
    // Required methods
    fn hosts(&self) -> &[Entity];
    fn targets(&self) -> &[Entity];
}
Expand description

Get information from a single edge bucket.

Required Methods§

source

fn hosts(&self) -> &[Entity]

Get all hosts.

source

fn targets(&self) -> &[Entity]

Get all targets.

Implementations on Foreign Types§

source§

impl<E: EdgeInfo> EdgeInfo for Option<E>

source§

fn hosts(&self) -> &[Entity]

source§

fn targets(&self) -> &[Entity]

Implementors§