Struct stc_ts_file_analyzer::ty::type_facts::TypeFactsHandler
source · [−]Fields
analyzer: &'a mut Analyzer<'b, 'c>
Used to expand references.
facts: TypeFacts
Implementations
sourceimpl TypeFactsHandler<'_, '_, '_>
impl TypeFactsHandler<'_, '_, '_>
fn can_be_primitive(&mut self, ty: &Type) -> bool
Trait Implementations
sourceimpl Fold<ClassDef> for TypeFactsHandler<'_, '_, '_>
impl Fold<ClassDef> for TypeFactsHandler<'_, '_, '_>
Noop because type facts should not be applied recursively.
sourceimpl Fold<ClassMember> for TypeFactsHandler<'_, '_, '_>
impl Fold<ClassMember> for TypeFactsHandler<'_, '_, '_>
fn fold(&mut self, m: ClassMember) -> ClassMember
sourceimpl Fold<Conditional> for TypeFactsHandler<'_, '_, '_>
impl Fold<Conditional> for TypeFactsHandler<'_, '_, '_>
fn fold(&mut self, ty: Conditional) -> Conditional
sourceimpl Fold<Constructor> for TypeFactsHandler<'_, '_, '_>
impl Fold<Constructor> for TypeFactsHandler<'_, '_, '_>
fn fold(&mut self, m: Constructor) -> Constructor
sourceimpl Fold<Function> for TypeFactsHandler<'_, '_, '_>
impl Fold<Function> for TypeFactsHandler<'_, '_, '_>
sourceimpl Fold<Intersection> for TypeFactsHandler<'_, '_, '_>
impl Fold<Intersection> for TypeFactsHandler<'_, '_, '_>
fn fold(&mut self, ty: Intersection) -> Intersection
sourceimpl Fold<KeywordType> for TypeFactsHandler<'_, '_, '_>
impl Fold<KeywordType> for TypeFactsHandler<'_, '_, '_>
fn fold(&mut self, ty: KeywordType) -> KeywordType
sourceimpl Fold<Mapped> for TypeFactsHandler<'_, '_, '_>
impl Fold<Mapped> for TypeFactsHandler<'_, '_, '_>
Noop because type facts should not be applied recursively.
sourceimpl Fold<TypeElement> for TypeFactsHandler<'_, '_, '_>
impl Fold<TypeElement> for TypeFactsHandler<'_, '_, '_>
fn fold(&mut self, el: TypeElement) -> TypeElement
Auto Trait Implementations
impl<'a, 'b, 'c> !RefUnwindSafe for TypeFactsHandler<'a, 'b, 'c>
impl<'a, 'b, 'c> !Send for TypeFactsHandler<'a, 'b, 'c>
impl<'a, 'b, 'c> !Sync for TypeFactsHandler<'a, 'b, 'c>
impl<'a, 'b, 'c> Unpin for TypeFactsHandler<'a, 'b, 'c>where
'b: 'a,
'c: 'a,
impl<'a, 'b, 'c> !UnwindSafe for TypeFactsHandler<'a, 'b, 'c>
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