Struct stc_ts_generics::expander::GenericExpander
source · [−]pub struct GenericExpander<'a> {
pub cm: Arc<SourceMap>,
pub params: &'a FxHashMap<Id, Type>,
pub fully: bool,
pub dejavu: FxHashSet<Id>,
pub opts: ExpandGenericOpts,
}
Expand description
This struct does not expands ref to other type. See Analyzer.expand to do such operation.
Fields
cm: Arc<SourceMap>
params: &'a FxHashMap<Id, Type>
fully: bool
Expand fully?
dejavu: FxHashSet<Id>
opts: ExpandGenericOpts
Implementations
Trait Implementations
sourceimpl Fold<CallSignature> for GenericExpander<'_>
impl Fold<CallSignature> for GenericExpander<'_>
fn fold(&mut self, n: CallSignature) -> CallSignature
sourceimpl Fold<ClassProperty> for GenericExpander<'_>
impl Fold<ClassProperty> for GenericExpander<'_>
fn fold(&mut self, n: ClassProperty) -> ClassProperty
sourceimpl Fold<ConstructorSignature> for GenericExpander<'_>
impl Fold<ConstructorSignature> for GenericExpander<'_>
fn fold(&mut self, n: ConstructorSignature) -> ConstructorSignature
sourceimpl Fold<IndexSignature> for GenericExpander<'_>
impl Fold<IndexSignature> for GenericExpander<'_>
fn fold(&mut self, n: IndexSignature) -> IndexSignature
sourceimpl Fold<MethodSignature> for GenericExpander<'_>
impl Fold<MethodSignature> for GenericExpander<'_>
fn fold(&mut self, n: MethodSignature) -> MethodSignature
sourceimpl Fold<PropertySignature> for GenericExpander<'_>
impl Fold<PropertySignature> for GenericExpander<'_>
fn fold(&mut self, n: PropertySignature) -> PropertySignature
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GenericExpander<'a>
impl<'a> Send for GenericExpander<'a>
impl<'a> Sync for GenericExpander<'a>
impl<'a> Unpin for GenericExpander<'a>
impl<'a> !UnwindSafe for GenericExpander<'a>
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