Struct screen_13::driver::DescriptorPool
source · [−]pub struct DescriptorPool {
pub info: DescriptorPoolInfo,
pub device: Arc<Device>,
/* private fields */
}Fields
info: DescriptorPoolInfodevice: Arc<Device>Implementations
sourceimpl DescriptorPool
impl DescriptorPool
pub fn create(
device: &Arc<Device>,
info: impl Into<DescriptorPoolInfo>
) -> Result<Self, DriverError>
pub fn allocate_descriptor_set(
this: &Self,
layout: &DescriptorSetLayout
) -> Result<DescriptorSet, DriverError>
pub fn allocate_descriptor_sets<'a>(
this: &'a Self,
layout: &DescriptorSetLayout,
count: u32
) -> Result<impl Iterator<Item = DescriptorSet> + 'a, DriverError>
Trait Implementations
sourceimpl Debug for DescriptorPool
impl Debug for DescriptorPool
sourceimpl Deref for DescriptorPool
impl Deref for DescriptorPool
type Target = DescriptorPool
type Target = DescriptorPool
The resulting type after dereferencing.
Auto Trait Implementations
impl !RefUnwindSafe for DescriptorPool
impl Send for DescriptorPool
impl Sync for DescriptorPool
impl Unpin for DescriptorPool
impl !UnwindSafe for DescriptorPool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more