windows_metadata/signature.rs
1use super::*;
2
3#[derive(Debug)]
4pub struct Signature {
5 pub flags: MethodCallAttributes,
6 pub return_type: Type,
7 pub types: Vec<Type>,
8}
9
10impl Default for Signature {
11 fn default() -> Self {
12 Self {
13 flags: MethodCallAttributes::HASTHIS,
14 return_type: Type::Void,
15 types: vec![],
16 }
17 }
18}