Struct chalk_ir::debug::SeparatorTraitRef [−][src]
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
impl<'me, I: Interner> SeparatorTraitRef<'me, I>
[src]
impl<'me, I: Interner> SeparatorTraitRef<'me, I>
[src]pub fn debug<'a>(
&'a self,
interner: &'a I
) -> SeparatorTraitRefDebug<'a, 'me, I>
[src]
pub fn debug<'a>(
&'a self,
interner: &'a I
) -> SeparatorTraitRefDebug<'a, 'me, I>
[src]Show debug output for the SeperatorTraitRef
.
Trait Implementations
Auto Trait Implementations
impl<'me, I> RefUnwindSafe for SeparatorTraitRef<'me, I> where
<I as Interner>::DefId: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
<I as Interner>::DefId: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
impl<'me, I> Send for SeparatorTraitRef<'me, I> where
<I as Interner>::DefId: Sync,
<I as Interner>::InternedSubstitution: Sync,
<I as Interner>::DefId: Sync,
<I as Interner>::InternedSubstitution: Sync,
impl<'me, I> Sync for SeparatorTraitRef<'me, I> where
<I as Interner>::DefId: Sync,
<I as Interner>::InternedSubstitution: Sync,
<I as Interner>::DefId: Sync,
<I as Interner>::InternedSubstitution: Sync,
impl<'me, I> Unpin for SeparatorTraitRef<'me, I>
impl<'me, I> UnwindSafe for SeparatorTraitRef<'me, I> where
<I as Interner>::DefId: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
<I as Interner>::DefId: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Cast for T
[src]
impl<T> Cast for T
[src]fn cast<U>(self, interner: &U::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
[src]
fn cast<U>(self, interner: &U::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
[src]Cast a value to type U
using CastTo
.