Struct stc_ts_types::ModuleTypeData
source · [−]pub struct ModuleTypeData {
pub private_vars: FxHashMap<Id, Type>,
pub vars: FxHashMap<JsWord, Type>,
pub private_types: FxHashMap<Id, Vec<Type>>,
pub types: FxHashMap<JsWord, Vec<Type>>,
}
Fields
private_vars: FxHashMap<Id, Type>
vars: FxHashMap<JsWord, Type>
private_types: FxHashMap<Id, Vec<Type>>
types: FxHashMap<JsWord, Vec<Type>>
Trait Implementations
sourceimpl AddAssign<ModuleTypeData> for ModuleTypeData
impl AddAssign<ModuleTypeData> for ModuleTypeData
sourcefn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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, _: &Self) -> bool
sourceimpl<V: ?Sized> FoldWith<V> for ModuleTypeData
impl<V: ?Sized> FoldWith<V> for ModuleTypeData
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
sourceimpl TypeEq for ModuleTypeData
impl TypeEq for ModuleTypeData
sourceimpl<V: ?Sized> VisitMutWith<V> for ModuleTypeData
impl<V: ?Sized> VisitMutWith<V> for ModuleTypeData
fn visit_mut_children_with(&mut self, _: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)where
V: VisitMut<Self>,
sourceimpl<V: ?Sized> VisitWith<V> for ModuleTypeData
impl<V: ?Sized> VisitWith<V> for ModuleTypeData
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