Module item_struct

Module item_struct 

Source
Expand description

Parse structures, like struct { a: i32 }.

Re-exports§

pub use super::super::item_struct;

Modules§

exposed
Exposed namespace of the module.
orphan
Orphan namespace of the module.
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module ::prelude :: *.

Functions§

field_names
Retrieves the names of each field, if they exist.
field_types
Extracts the types of each field into a vector.
first_field_name
Retrieves the name of the first field of the struct, if available.
first_field_type
Retrieves the type of the first field of the struct.