Trait rustdoc::clean::Clean[][src]

pub(crate) trait Clean<T> {
    fn clean(&self, cx: &mut DocContext<'_>) -> T;
}

Required methods

fn clean(&self, cx: &mut DocContext<'_>) -> T[src]

Loading content...

Implementations on Foreign Types

impl<T: Clean<U>, U> Clean<Vec<U, Global>> for [T][src]

fn clean(&self, cx: &mut DocContext<'_>) -> Vec<U>[src]

impl<T: Clean<U>, U, V: Idx> Clean<IndexVec<V, U>> for IndexVec<V, T>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> IndexVec<V, U>[src]

impl<T: Clean<U>, U> Clean<U> for &T[src]

fn clean(&self, cx: &mut DocContext<'_>) -> U[src]

impl<T: Clean<U>, U> Clean<U> for Rc<T>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> U[src]

impl<T: Clean<U>, U> Clean<Option<U>> for Option<T>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Option<U>[src]

impl Clean<ExternalCrate> for CrateNum[src]

fn clean(&self, _cx: &mut DocContext<'_>) -> ExternalCrate[src]

impl Clean<Attributes> for [Attribute][src]

fn clean(&self, _cx: &mut DocContext<'_>) -> Attributes[src]

impl Clean<GenericBound> for GenericBound<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> GenericBound[src]

impl Clean<Type> for (TraitRef<'_>, &[TypeBinding])[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Type[src]

impl<'tcx> Clean<GenericBound> for TraitRef<'tcx>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> GenericBound[src]

impl Clean<GenericBound> for (PolyTraitRef<'_>, &[TypeBinding])[src]

fn clean(&self, cx: &mut DocContext<'_>) -> GenericBound[src]

impl<'tcx> Clean<GenericBound> for PolyTraitRef<'tcx>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> GenericBound[src]

impl<'tcx> Clean<Option<Vec<GenericBound, Global>>> for InternalSubsts<'tcx>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Option<Vec<GenericBound>>[src]

impl Clean<Lifetime> for Lifetime[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Lifetime[src]

impl Clean<Lifetime> for GenericParam<'_>[src]

fn clean(&self, _: &mut DocContext<'_>) -> Lifetime[src]

impl Clean<Constant> for ConstArg[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Constant[src]

impl Clean<Lifetime> for GenericParamDef[src]

fn clean(&self, _cx: &mut DocContext<'_>) -> Lifetime[src]

impl Clean<Option<Lifetime>> for RegionKind[src]

fn clean(&self, _cx: &mut DocContext<'_>) -> Option<Lifetime>[src]

impl Clean<WherePredicate> for WherePredicate<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> WherePredicate[src]

impl<'a> Clean<Option<WherePredicate>> for Predicate<'a>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Option<WherePredicate>[src]

impl<'a> Clean<WherePredicate> for PolyTraitPredicate<'a>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> WherePredicate[src]

impl<'tcx> Clean<Option<WherePredicate>> for OutlivesPredicate<Region<'tcx>, Region<'tcx>>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Option<WherePredicate>[src]

impl<'tcx> Clean<Option<WherePredicate>> for OutlivesPredicate<Ty<'tcx>, Region<'tcx>>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Option<WherePredicate>[src]

impl<'tcx> Clean<WherePredicate> for ProjectionPredicate<'tcx>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> WherePredicate[src]

impl<'tcx> Clean<Type> for ProjectionTy<'tcx>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Type[src]

impl Clean<GenericParamDef> for GenericParamDef[src]

fn clean(&self, cx: &mut DocContext<'_>) -> GenericParamDef[src]

impl Clean<GenericParamDef> for GenericParam<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> GenericParamDef[src]

impl Clean<Generics> for Generics<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Generics[src]

impl<'a, 'tcx> Clean<Generics> for (&'a Generics, GenericPredicates<'tcx>)[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Generics[src]

impl<'a> Clean<Function> for (&'a FnSig<'a>, &'a Generics<'a>, BodyId)[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Function[src]

impl<'a> Clean<Arguments> for (&'a [Ty<'a>], &'a [Ident])[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Arguments[src]

impl<'a> Clean<Arguments> for (&'a [Ty<'a>], BodyId)[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Arguments[src]

impl<'a, A: Copy> Clean<FnDecl> for (&'a FnDecl<'a>, A) where
    (&'a [Ty<'a>], A): Clean<Arguments>, 
[src]

fn clean(&self, cx: &mut DocContext<'_>) -> FnDecl[src]

impl<'tcx> Clean<FnDecl> for (DefId, PolyFnSig<'tcx>)[src]

fn clean(&self, cx: &mut DocContext<'_>) -> FnDecl[src]

impl Clean<FnRetTy> for FnRetTy<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> FnRetTy[src]

impl Clean<bool> for IsAuto[src]

fn clean(&self, _: &mut DocContext<'_>) -> bool[src]

impl Clean<Type> for TraitRef<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Type[src]

impl Clean<PolyTrait> for PolyTraitRef<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> PolyTrait[src]

impl Clean<Item> for TraitItem<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

impl Clean<Item> for ImplItem<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

impl Clean<Item> for AssocItem[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

impl Clean<Type> for Ty<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Type[src]

impl<'tcx> Clean<Type> for Ty<'tcx>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Type[src]

impl<'tcx> Clean<Constant> for Const<'tcx>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Constant[src]

impl Clean<Item> for FieldDef<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

impl Clean<Item> for FieldDef[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

impl Clean<Visibility> for Visibility<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Visibility[src]

impl Clean<Visibility> for Visibility[src]

fn clean(&self, _cx: &mut DocContext<'_>) -> Visibility[src]

impl Clean<VariantStruct> for VariantData<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> VariantStruct[src]

impl Clean<Item> for VariantDef[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

impl Clean<Variant> for VariantData<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Variant[src]

impl Clean<Span> for Span[src]

fn clean(&self, _cx: &mut DocContext<'_>) -> Span[src]

impl Clean<Path> for Path<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Path[src]

impl Clean<GenericArgs> for GenericArgs<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> GenericArgs[src]

impl Clean<PathSegment> for PathSegment<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> PathSegment[src]

impl Clean<String> for Ident[src]

fn clean(&self, cx: &mut DocContext<'_>) -> String[src]

impl Clean<String> for Symbol[src]

fn clean(&self, _: &mut DocContext<'_>) -> String[src]

impl Clean<BareFunctionDecl> for BareFnTy<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> BareFunctionDecl[src]

impl Clean<Vec<Item, Global>> for (&Item<'_>, Option<Symbol>)[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Vec<Item>[src]

impl Clean<Item> for Variant<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

impl Clean<bool> for ImplPolarity[src]

fn clean(&self, _: &mut DocContext<'_>) -> bool[src]

Returns whether the impl has negative polarity.

impl Clean<Item> for (&ForeignItem<'_>, Option<Symbol>)[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

impl Clean<Item> for (&MacroDef<'_>, Option<Symbol>)[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

impl Clean<TypeBinding> for TypeBinding<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> TypeBinding[src]

impl Clean<TypeBindingKind> for TypeBindingKind<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> TypeBindingKind[src]

Loading content...

Implementors

impl Clean<Item> for Module<'_>[src]

fn clean(&self, cx: &mut DocContext<'_>) -> Item[src]

Loading content...