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
.
Trait Implementations§
Auto Trait Implementations§
impl<'me, I> Freeze for SeparatorTraitRef<'me, I>
impl<'me, I> RefUnwindSafe for SeparatorTraitRef<'me, I>
impl<'me, I> Send for SeparatorTraitRef<'me, I>
impl<'me, I> Sync for SeparatorTraitRef<'me, I>
impl<'me, I> Unpin for SeparatorTraitRef<'me, I>
impl<'me, I> UnwindSafe for SeparatorTraitRef<'me, I>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more