Trait sierra::DescriptorsInput [−][src]
pub trait DescriptorsInput { type Layout; type Instance: DescriptorsInstance<Self>; fn layout(device: &Device) -> Result<Self::Layout, OutOfMemory>; }
Expand description
Input structures for descriptors implement this trait.
This trait is intended to be implemented by proc macro #[descriptors]
.
Associated Types
Layout type for the input.
Proc macro #[descriptors]
generates this type and all necessary code.
type Instance: DescriptorsInstance<Self>
type Instance: DescriptorsInstance<Self>
Instance type for the input.
Proc macro #[descriptors]
generates this type and all necessary code.