Closed jfecher closed 1 week ago
Resolves #5285
Implements as_type, generics, and fields on the TypeDefinition type.
as_type
generics
fields
TypeDefinition
The Type type isn't really supported yet so as_type and fields return Quoted token streams instead of Types for now.
Type
Quoted
A few bugs still need to be fixed after this PR for the vertical slice to work.
Check one:
cargo fmt
Description
Problem*
Resolves #5285
Summary*
Implements
as_type
,generics
, andfields
on theTypeDefinition
type.The
Type
type isn't really supported yet soas_type
andfields
returnQuoted
token streams instead ofType
s for now.Additional Context
A few bugs still need to be fixed after this PR for the vertical slice to work.
Documentation*
Check one:
PR Checklist*
cargo fmt
on default settings.