Struct windows_gen::TypeTree [−][src]
pub struct TypeTree { pub namespace: &'static str, pub types: Vec<ElementType>, pub namespaces: BTreeMap<&'static str, TypeTree>, }
Fields
namespace: &'static str
types: Vec<ElementType>
namespaces: BTreeMap<&'static str, TypeTree>
Implementations
impl TypeTree
[src]
impl TypeTree
[src]pub fn from_namespace(namespace: &'static str) -> Self
[src]
pub fn from_limits(reader: &'static TypeReader, limits: &TypeLimits) -> Self
[src]
pub fn include_method(&self, signature: &MethodSignature) -> bool
[src]
pub fn includes(&self, kind: &ElementType) -> bool
[src]
pub fn gen<'a>(
&'a self,
root: &'a Self
) -> impl Iterator<Item = TokenStream> + 'a
[src]
&'a self,
root: &'a Self
) -> impl Iterator<Item = TokenStream> + 'a
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TypeTree
impl RefUnwindSafe for TypeTree
impl UnwindSafe for TypeTree
impl UnwindSafe for TypeTree