pub(crate) trait ToElementIndex<'tcx>: Debug + Copy {
// Required methods
fn add_to_row<N: Idx>(
self,
values: &mut RegionValues<'tcx, N>,
row: N,
) -> bool;
fn contained_in_row<N: Idx>(
self,
values: &RegionValues<'tcx, N>,
row: N,
) -> bool;
}Required Methods§
fn add_to_row<N: Idx>(self, values: &mut RegionValues<'tcx, N>, row: N) -> bool
fn contained_in_row<N: Idx>( self, values: &RegionValues<'tcx, N>, row: N, ) -> bool
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.