diff options
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.rs b/src/util.rs index 9f428c9..44191e8 100644 --- a/src/util.rs +++ b/src/util.rs @@ -43,6 +43,10 @@ macro_rules! create_data_type { pub fn into_raw(self) -> String { self.0 } + + pub fn params(&self) -> &$crate::param::Parameters { + &self.1 + } } impl From<Property> for $name { |