Struct stc_ts_file_analyzer::ty::ModuleTypeData
source · [−]pub struct ModuleTypeData {
pub private_vars: HashMap<Id, Type, BuildHasherDefault<FxHasher>>,
pub vars: HashMap<Atom<JsWordStaticSet>, Type, BuildHasherDefault<FxHasher>>,
pub private_types: HashMap<Id, Vec<Type, Global>, BuildHasherDefault<FxHasher>>,
pub types: HashMap<Atom<JsWordStaticSet>, Vec<Type, Global>, BuildHasherDefault<FxHasher>>,
}
Fields
private_vars: HashMap<Id, Type, BuildHasherDefault<FxHasher>>
vars: HashMap<Atom<JsWordStaticSet>, Type, BuildHasherDefault<FxHasher>>
private_types: HashMap<Id, Vec<Type, Global>, BuildHasherDefault<FxHasher>>
types: HashMap<Atom<JsWordStaticSet>, Vec<Type, Global>, BuildHasherDefault<FxHasher>>
Trait Implementations
sourceimpl AddAssign<ModuleTypeData> for ModuleTypeData
impl AddAssign<ModuleTypeData> for ModuleTypeData
sourcefn add_assign(&mut self, other: ModuleTypeData)
fn add_assign(&mut self, other: ModuleTypeData)
Performs the
+=
operation. Read moresourceimpl Clone for ModuleTypeData
impl Clone for ModuleTypeData
sourcefn clone(&self) -> ModuleTypeData
fn clone(&self) -> ModuleTypeData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ModuleTypeData
impl Debug for ModuleTypeData
sourceimpl Default for ModuleTypeData
impl Default for ModuleTypeData
sourcefn default() -> ModuleTypeData
fn default() -> ModuleTypeData
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ModuleTypeData
impl<'de> Deserialize<'de> for ModuleTypeData
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<ModuleTypeData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ModuleTypeData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for ModuleTypeData
impl EqIgnoreSpan for ModuleTypeData
fn eq_ignore_span(&self, &ModuleTypeData) -> bool
sourceimpl<V> FoldWith<V> for ModuleTypeDatawhere
V: ?Sized,
impl<V> FoldWith<V> for ModuleTypeDatawhere
V: ?Sized,
fn fold_children_with(self, &mut V) -> ModuleTypeData
fn fold_with(self, visitor: &mut V) -> Selfwhere
V: Fold<Self>,
sourceimpl PartialEq<ModuleTypeData> for ModuleTypeData
impl PartialEq<ModuleTypeData> for ModuleTypeData
sourcefn eq(&self, other: &ModuleTypeData) -> bool
fn eq(&self, other: &ModuleTypeData) -> bool
sourceimpl Serialize for ModuleTypeData
impl Serialize for ModuleTypeData
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl TypeEq for ModuleTypeData
impl TypeEq for ModuleTypeData
sourcefn type_eq(&self, &ModuleTypeData) -> bool
fn type_eq(&self, &ModuleTypeData) -> bool
Note: This method should return
true
for non-type values.sourceimpl<V> VisitMutWith<V> for ModuleTypeDatawhere
V: ?Sized,
impl<V> VisitMutWith<V> for ModuleTypeDatawhere
V: ?Sized,
fn visit_mut_children_with(&mut self, &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)where
V: VisitMut<Self>,
sourceimpl<V> VisitWith<V> for ModuleTypeDatawhere
V: ?Sized,
impl<V> VisitWith<V> for ModuleTypeDatawhere
V: ?Sized,
fn visit_children_with(&self, &mut V)
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
impl StructuralPartialEq for ModuleTypeData
impl Visitable for ModuleTypeData
Auto Trait Implementations
impl RefUnwindSafe for ModuleTypeData
impl Send for ModuleTypeData
impl Sync for ModuleTypeData
impl Unpin for ModuleTypeData
impl UnwindSafe for ModuleTypeData
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