Struct windows_gen::TypeReader [−][src]
pub struct TypeReader {
pub types: TypeTree,
// some fields omitted
}Fields
types: TypeTreeImplementations
Get all the namespace names that the TypeReader knows about
pub fn get_type_name(
&'static self,
namespace: &str,
name: &str
) -> Option<(&'static str, &'static str)>pub fn nested_types(
&'static self,
enclosing: &TypeDef
) -> Option<&BTreeMap<&'static str, TypeDef>>pub fn signature_from_blob(
&'static self,
blob: &mut Blob,
generics: &[ElementType]
) -> Option<Signature>pub fn type_from_code(
&'static self,
code: &TypeDefOrRef,
generics: &[ElementType]
) -> ElementTypepub fn type_from_blob(
&'static self,
blob: &mut Blob,
generics: &[ElementType]
) -> ElementTypeAuto Trait Implementations
impl RefUnwindSafe for TypeReaderimpl Send for TypeReaderimpl Sync for TypeReaderimpl Unpin for TypeReaderimpl UnwindSafe for TypeReader