Skip to main content

IndicesInGroup

Trait IndicesInGroup 

Source
pub trait IndicesInGroup: EntityDomain {
    // Required methods
    fn indices_in_group<'a>(
        label: &'static str,
        graphrecord: &'a GraphRecord,
        group: &Group,
    ) -> QueryResult<GrHashSet<Self::Index<'a>>>;
    fn group_size(stats: &Stats<'_>, group: &Group) -> usize;
}

Required Methods§

Source

fn indices_in_group<'a>( label: &'static str, graphrecord: &'a GraphRecord, group: &Group, ) -> QueryResult<GrHashSet<Self::Index<'a>>>

Source

fn group_size(stats: &Stats<'_>, group: &Group) -> usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IndicesInGroup for EdgeIndex

Source§

fn indices_in_group<'a>( label: &'static str, graphrecord: &'a GraphRecord, group: &Group, ) -> QueryResult<GrHashSet<Self::Index<'a>>>

Source§

fn group_size(stats: &Stats<'_>, group: &Group) -> usize

Source§

impl IndicesInGroup for NodeIndex

Source§

fn indices_in_group<'a>( label: &'static str, graphrecord: &'a GraphRecord, group: &Group, ) -> QueryResult<GrHashSet<Self::Index<'a>>>

Source§

fn group_size(stats: &Stats<'_>, group: &Group) -> usize

Implementors§