Struct windows_gen::TypeReader [−][src]
pub struct TypeReader { /* fields omitted */ }
Expand description
A reader of type information from Windows Metadata
Implementations
impl TypeReader
[src]
impl TypeReader
[src]pub fn get() -> &'static Self
[src]
pub fn resolve_namespace(&'static self, find: &str) -> &'static str
[src]
pub fn namespaces(&'static self) -> impl Iterator<Item = &'static str>
[src]
pub fn namespaces(&'static self) -> impl Iterator<Item = &'static str>
[src]Get all the namespace names that the TypeReader
knows about
pub fn namespace_types(
&'static self,
namespace: &str
) -> impl Iterator<Item = ElementType>
[src]
pub fn namespace_types(
&'static self,
namespace: &str
) -> impl Iterator<Item = ElementType>
[src]pub fn nested_types(&'static self, enclosing: &TypeDef) -> Vec<TypeDef>
[src]
pub fn resolve_type(&'static self, namespace: &str, name: &str) -> ElementType
[src]
pub fn get_namespace(&'static self, namespace: &str) -> Option<&'static str>
[src]
pub fn get_type_name(
&'static self,
namespace: &str,
name: &str
) -> Option<(&'static str, &'static str)>
[src]
&'static self,
namespace: &str,
name: &str
) -> Option<(&'static str, &'static str)>