Trait hir_ty::display::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§