macro_rules! impl_wrapper {
($type:ty; using $($using:tt)*) => { ... };
($type:ty; ($($generics:tt)*); using $($using:tt)*) => { ... };
}
Expand description
Used to implement ShaderType
for the given wrapper type
ยงArgs
-
$type
the type (representing a wrapper) for whichShaderType
will be implemented for -
$generics
[optional] generics that will be passed into theimpl< >
-
$using
[optional] can be any combination ofRef{ X } Mut{ X } From{ X }
(whereX
denotes a possible function call)