#[repr(transparent)]pub struct EruptDescriptorDevice { /* private fields */ }
Implementations
sourceimpl EruptDescriptorDevice
impl EruptDescriptorDevice
pub fn wrap(device: &DeviceLoader) -> &Self
Trait Implementations
sourceimpl DescriptorDevice<DescriptorSetLayout, DescriptorPool, DescriptorSet> for EruptDescriptorDevice
impl DescriptorDevice<DescriptorSetLayout, DescriptorPool, DescriptorSet> for EruptDescriptorDevice
unsafe fn create_descriptor_pool(
&self,
descriptor_count: &DescriptorTotalCount,
max_sets: u32,
flags: DescriptorPoolCreateFlags
) -> Result<DescriptorPool, CreatePoolError>
unsafe fn destroy_descriptor_pool(&self, pool: DescriptorPool)
unsafe fn alloc_descriptor_sets<'a>(
&self,
pool: &mut DescriptorPool,
layouts: impl ExactSizeIterator<Item = &'a DescriptorSetLayout>,
sets: &mut impl Extend<DescriptorSet>
) -> Result<(), DeviceAllocationError>
unsafe fn dealloc_descriptor_sets<'a>(
&self,
pool: &mut DescriptorPool,
sets: impl Iterator<Item = DescriptorSet>
)
Auto Trait Implementations
impl RefUnwindSafe for EruptDescriptorDevice
impl Send for EruptDescriptorDevice
impl Sync for EruptDescriptorDevice
impl Unpin for EruptDescriptorDevice
impl UnwindSafe for EruptDescriptorDevice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more