Macro bevy_render::render_resource::encase::impl_wrapper

source ·
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 which ShaderType will be implemented for

  • $generics [optional] generics that will be passed into the impl< >

  • $using [optional] can be any combination of Ref{ X } Mut{ X } From{ X } (where X denotes a possible function call)