[][src]Struct chalk_ir::debug::SeparatorTraitRef

pub struct SeparatorTraitRef<'me, I: Interner> {
    pub trait_ref: &'me TraitRef<I>,
    pub separator: &'me str,
}

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]

pub fn debug<'a>(
    &'a self,
    interner: &'a I
) -> SeparatorTraitRefDebug<'a, 'me, I>
[src]

Show debug output for the SeperatorTraitRef.

Trait Implementations

impl<I: Interner, '_> Debug for SeparatorTraitRef<'_, I>[src]

Auto Trait Implementations

impl<'me, I> RefUnwindSafe for SeparatorTraitRef<'me, I> where
    <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

impl<'me, I> Sync for SeparatorTraitRef<'me, I> where
    <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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.