structs implementing Copy are scaffolded out.
todo: need an unsafe method for casting pointers in order to validate contents via recursive descent
This commit is contained in:
@@ -72,6 +72,10 @@ impl Names {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn struct_member(&self, id: &Id) -> Ident {
|
||||
format_ident!("{}", id.as_str().to_snake_case())
|
||||
}
|
||||
|
||||
pub fn module(&self, id: &Id) -> Ident {
|
||||
format_ident!("{}", id.as_str().to_snake_case())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user