Struct windows_gen::TypeReader [−][src]
pub struct TypeReader { pub types: TypeTree, // some fields omitted }
Fields
types: TypeTree
Implementations
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]
) -> ElementType
pub fn type_from_blob(
&'static self,
blob: &mut Blob,
generics: &[ElementType]
) -> ElementType
Auto Trait Implementations
impl RefUnwindSafe for TypeReader
impl Send for TypeReader
impl Sync for TypeReader
impl Unpin for TypeReader
impl UnwindSafe for TypeReader