rustc_borrowck::region_infer::values

Trait ToElementIndex

source
pub(crate) trait ToElementIndex: Debug + Copy {
    // Required methods
    fn add_to_row<N: Idx>(self, values: &mut RegionValues<N>, row: N) -> bool;
    fn contained_in_row<N: Idx>(self, values: &RegionValues<N>, row: N) -> bool;
}

Required Methods§

source

fn add_to_row<N: Idx>(self, values: &mut RegionValues<N>, row: N) -> bool

source

fn contained_in_row<N: Idx>(self, values: &RegionValues<N>, row: N) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ToElementIndex for Location

source§

fn add_to_row<N: Idx>(self, values: &mut RegionValues<N>, row: N) -> bool

source§

fn contained_in_row<N: Idx>(self, values: &RegionValues<N>, row: N) -> bool

source§

impl ToElementIndex for RegionVid

source§

fn add_to_row<N: Idx>(self, values: &mut RegionValues<N>, row: N) -> bool

source§

fn contained_in_row<N: Idx>(self, values: &RegionValues<N>, row: N) -> bool

source§

impl ToElementIndex for PlaceholderRegion

source§

fn add_to_row<N: Idx>(self, values: &mut RegionValues<N>, row: N) -> bool

source§

fn contained_in_row<N: Idx>(self, values: &RegionValues<N>, row: N) -> bool

Implementors§