pub trait DescriptorSetInitializer<'a> {
type Output;
// Required methods
fn create_dyn_descriptor_set(
descriptor_set: DynDescriptorSet,
args: Self,
) -> Self::Output;
fn create_descriptor_set(
descriptor_set_allocator: &mut DescriptorSetAllocator,
descriptor_set: DynDescriptorSet,
args: Self,
) -> RafxResult<DescriptorSetArc>;
}
Required Associated Types§
Required Methods§
fn create_dyn_descriptor_set( descriptor_set: DynDescriptorSet, args: Self, ) -> Self::Output
fn create_descriptor_set( descriptor_set_allocator: &mut DescriptorSetAllocator, descriptor_set: DynDescriptorSet, args: Self, ) -> RafxResult<DescriptorSetArc>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.