syntax::ast::make

Function record_field

source
pub fn record_field(
    visibility: Option<Visibility>,
    name: Name,
    ty: Type,
) -> RecordField