hir_ty::display

Trait HirDisplayWithTypesMap

Source
pub trait HirDisplayWithTypesMap {
    // Required method
    fn hir_fmt(
        &self,
        f: &mut HirFormatter<'_>,
        types_map: &TypesMap,
    ) -> Result<(), HirDisplayError>;
}

Required Methods§

Source

fn hir_fmt( &self, f: &mut HirFormatter<'_>, types_map: &TypesMap, ) -> Result<(), HirDisplayError>

Implementations on Foreign Types§

Source§

impl HirDisplayWithTypesMap for GenericArg

Source§

fn hir_fmt( &self, f: &mut HirFormatter<'_>, types_map: &TypesMap, ) -> Result<(), HirDisplayError>

Source§

impl HirDisplayWithTypesMap for Path

Source§

fn hir_fmt( &self, f: &mut HirFormatter<'_>, types_map: &TypesMap, ) -> Result<(), HirDisplayError>

Source§

impl HirDisplayWithTypesMap for TypeBound

Source§

fn hir_fmt( &self, f: &mut HirFormatter<'_>, types_map: &TypesMap, ) -> Result<(), HirDisplayError>

Source§

impl HirDisplayWithTypesMap for TypeRefId

Source§

fn hir_fmt( &self, f: &mut HirFormatter<'_>, types_map: &TypesMap, ) -> Result<(), HirDisplayError>

Source§

impl<T: ?Sized + HirDisplayWithTypesMap> HirDisplayWithTypesMap for &T

Source§

fn hir_fmt( &self, f: &mut HirFormatter<'_>, types_map: &TypesMap, ) -> Result<(), HirDisplayError>

Implementors§