pub struct Package2<'t> { /* private fields */ }

Implementations

Return the name of this package.

Return the declarations made in this package.

Return the scope of the package.

Trait Implementations

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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. 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.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.