Struct stc_ts_env::Marks
source · [−]pub struct Marks {
pub(crate) unresolved_mark: Mark,
unresolved_ctxt: SyntaxContext,
}
Expand description
The caller should ensure that swc_common::GLOBALS and Marks
is matched.
Fields
unresolved_mark: Mark
unresolved_ctxt: SyntaxContext
Implementations
sourceimpl Marks
impl Marks
pub fn unresolved_mark(self) -> Mark
pub fn unresolved_ctxt(self) -> SyntaxContext
Trait Implementations
impl Copy for Marks
impl Eq for Marks
impl StructuralEq for Marks
impl StructuralPartialEq for Marks
Auto Trait Implementations
impl RefUnwindSafe for Marks
impl Send for Marks
impl Sync for Marks
impl Unpin for Marks
impl UnwindSafe for Marks
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
sourceimpl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.