We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e3576 commit 0642661Copy full SHA for 0642661
src/trait_.rs
@@ -71,6 +71,8 @@ pub enum Trait {
71
ZeroizeOnDrop,
72
}
73
74
+/// Call a function on the corresponding trait struct matching the trait enum
75
+/// variant.
76
macro_rules! trait_dispatch {
77
($self:expr, $method:ident($($par:expr),*)) => {
78
match $self {
0 commit comments