Struct swc_common::Mark [−][src]
pub struct Mark(_);
Expand description
A mark is a unique id associated with a macro expansion.
Implementations
The mark of the theoretical expansion that generates freshly parsed, unexpanded AST.
Computes a mark such that both input marks are descendants of (or equal to) the returned mark. That is, the following holds:
ⓘ
let la = least_ancestor(a, b);
assert!(a.is_descendant_of(la))
assert!(b.is_descendant_of(la))
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mark
impl UnwindSafe for Mark
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more