pub struct FromNativeDescriptorPoolParameters {
pub owned: bool,
pub device: Device,
pub allocator: Option<Box<dyn Allocator>>,
}
Fields§
§owned: bool
true
, if this DescriptorPool
should destroy the underlying Vulkan object, when it is dropped.
device: Device
The Device
, from which this DescriptorPool
was created.
allocator: Option<Box<dyn Allocator>>
An Allocator
compatible with the one used to create this DescriptorPool
.
This parameter is ignored, if owned
is false
.
Implementations§
Auto Trait Implementations§
impl Freeze for FromNativeDescriptorPoolParameters
impl !RefUnwindSafe for FromNativeDescriptorPoolParameters
impl Send for FromNativeDescriptorPoolParameters
impl Sync for FromNativeDescriptorPoolParameters
impl Unpin for FromNativeDescriptorPoolParameters
impl !UnwindSafe for FromNativeDescriptorPoolParameters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more