Struct clippy_utils::ast::NodeId [−][src]
pub struct NodeId {
private: u32,
}Expand description
Identifies an AST node.
This identifies top-level definitions, expressions, and everything in between.
This is later turned into DefId and HirId for the HIR.
Fields
private: u32Auto Trait Implementations
impl RefUnwindSafe for NodeId
impl UnwindSafe for NodeId
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes