[][src]Module syntax::ptr

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

The AST pointer.

Provides P<T>, a frozen owned smart pointer, as a replacement for @T in the AST.

Motivations and benefits

Structs

PInternal

An owned smart pointer.

Functions

PInternal

Construct a P<T> from a T value.