Struct rustc_ast::ast_like::AstLikeWrapper
source · [−]pub struct AstLikeWrapper<Wrapped, Tag> {
pub wrapped: Wrapped,
pub tag: PhantomData<Tag>,
}Expand description
A newtype around an AstLike node that implements AstLike itself.
Fields
wrapped: Wrappedtag: PhantomData<Tag>Implementations
Trait Implementations
This is true if this AstLike might support ‘custom’ (proc-macro) inner
attributes. Attributes like #![cfg] and #![cfg_attr] are not
considered ‘custom’ attributes Read more
Auto Trait Implementations
impl<Wrapped, Tag> RefUnwindSafe for AstLikeWrapper<Wrapped, Tag> where
Tag: RefUnwindSafe,
Wrapped: RefUnwindSafe,
impl<Wrapped, Tag> Send for AstLikeWrapper<Wrapped, Tag> where
Tag: Send,
Wrapped: Send,
impl<Wrapped, Tag> Sync for AstLikeWrapper<Wrapped, Tag> where
Tag: Sync,
Wrapped: Sync,
impl<Wrapped, Tag> Unpin for AstLikeWrapper<Wrapped, Tag> where
Tag: Unpin,
Wrapped: Unpin,
impl<Wrapped, Tag> UnwindSafe for AstLikeWrapper<Wrapped, Tag> where
Tag: UnwindSafe,
Wrapped: UnwindSafe,
Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.