Struct chalk_ir::debug::SeparatorTraitRef
source · pub struct SeparatorTraitRef<'me, I: Interner> {
pub trait_ref: &'me TraitRef<I>,
pub separator: &'me str,
}
Expand description
Trait ref with associated separator used for debug output.
Fields§
§trait_ref: &'me TraitRef<I>
The TraitRef
itself.
separator: &'me str
The separator used for displaying the TraitRef
.
Implementations§
source§impl<'me, I: Interner> SeparatorTraitRef<'me, I>
impl<'me, I: Interner> SeparatorTraitRef<'me, I>
sourcepub fn debug<'a>(&'a self, interner: I) -> SeparatorTraitRefDebug<'a, 'me, I>
pub fn debug<'a>(&'a self, interner: I) -> SeparatorTraitRefDebug<'a, 'me, I>
Show debug output for the SeperatorTraitRef
.