Function parse_ty

Source
pub fn parse_ty(
    stream: &mut KTokenStream,
    tracer: &dyn KParserTracer,
) -> Result<Option<TyToken>>
Expand description

parse the field type as an AST element, and return the type field, if found, otherwise if the type is a Trait bound return None.