pub struct Package2<'t> { /* fields omitted */ }
Return the name of this package.
Return the declarations made in this package.
Return the scope of the package.
Allocate a value of type T
.
Formats the value using the given formatter. Read more
The name of the declared item.
Schedule construction of an HIR node from an AST node. Read more
Construct an HIR node from an AST node.
The source file location of this node.
A human-readable description of the node’s kind. Read more
A human-readable description of the node, including its name. Read more
Accept a visitor and call its corresponding visit_*
function.
Walk a visitor over the node’s subtree.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.