pub struct TypeDecl2<'t> { /* fields omitted */ }
A type declaration.
See IEEE 1076-2008 section 6.2.
Return the declared type.
This function maps the type declaration data to an actual Type
.
Allocate a value of type T
.
type Latent = &'t Slot<'t, Self>
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.
The name of the declared item.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)