Struct stc_ts_generics::type_param::renamer::TypeParamRenamer
source · [−]pub struct TypeParamRenamer {
pub inferred: FxHashMap<Id, Type>,
pub declared: Option<FxHashSet<Id>>,
}
Fields
inferred: FxHashMap<Id, Type>
declared: Option<FxHashSet<Id>>
Declared type parameters. Only type parameters in this set will be replaced.
This is filled by visitor itself.
Trait Implementations
sourceimpl Debug for TypeParamRenamer
impl Debug for TypeParamRenamer
sourceimpl Fold<MethodSignature> for TypeParamRenamer
impl Fold<MethodSignature> for TypeParamRenamer
fn fold(&mut self, m: MethodSignature) -> MethodSignature
sourceimpl Fold<TypeParamDecl> for TypeParamRenamer
impl Fold<TypeParamDecl> for TypeParamRenamer
fn fold(&mut self, decl: TypeParamDecl) -> TypeParamDecl
Auto Trait Implementations
impl RefUnwindSafe for TypeParamRenamer
impl Send for TypeParamRenamer
impl Sync for TypeParamRenamer
impl Unpin for TypeParamRenamer
impl UnwindSafe for TypeParamRenamer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more