pub fn make_field(
name: &str,
ty: &str,
unit: Option<&str>,
support: FieldSupport,
representation: FieldRepresentation,
) -> ItemExpand description
Helper: build a simple field declaration.
pub fn make_field(
name: &str,
ty: &str,
unit: Option<&str>,
support: FieldSupport,
representation: FieldRepresentation,
) -> ItemHelper: build a simple field declaration.