pub struct CodeConfig {
pub name: String,
pub type_dict: HashMap<String, String>,
pub name_dict: HashMap<String, String>,
pub global_cfg: HashMap<String, String>,
}Expand description
Language-specific configuration map.
Fields§
§name: StringName of the configuration (can be cpp or rust).
type_dict: HashMap<String, String>Maps abstract type to overriden, language-specific type. Can be empty if no overrides are specified in config.
name_dict: HashMap<String, String>Maps abstract name to overriden, language-specific name (variables, functions, attributes etc.). Can be empty if no overrides are specified in config.
global_cfg: HashMap<String, String>List of global configuration data for given language.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodeConfig
impl RefUnwindSafe for CodeConfig
impl Send for CodeConfig
impl Sync for CodeConfig
impl Unpin for CodeConfig
impl UnwindSafe for CodeConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more