pub trait PdbType {
// Provided methods
fn size(&self) -> Option<u64> { ... }
fn name(&self) -> Option<String> { ... }
fn to_decl(&self) -> String { ... }
fn to_decl_with_opt(&self, opt: &DeclOpt) -> String { ... }
}Provided Methods§
fn size(&self) -> Option<u64>
fn size(&self) -> Option<u64>
Size of the type. This size should match the value of sizeof(...)
applied to this type.
fn to_decl_with_opt(&self, opt: &DeclOpt) -> String
fn to_decl_with_opt(&self, opt: &DeclOpt) -> String
Generates a C/C++ definition for this type with the given configuration