#[repr(C)]pub struct DedicatedAllocationBufferCreateInfoNV {
pub s_type: StructureType,
pub p_next: *const c_void,
pub dedicated_allocation: u32,
}Expand description
VkDedicatedAllocationBufferCreateInfoNV
Provided by VK_NV_dedicated_allocation.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV.
p_next: *const c_voidOptional, may be null.
dedicated_allocation: u32Implementations§
Source§impl DedicatedAllocationBufferCreateInfoNV
impl DedicatedAllocationBufferCreateInfoNV
Sourcepub fn builder<'a>() -> DedicatedAllocationBufferCreateInfoNVBuilder<'a>
pub fn builder<'a>() -> DedicatedAllocationBufferCreateInfoNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for DedicatedAllocationBufferCreateInfoNV
impl Clone for DedicatedAllocationBufferCreateInfoNV
Source§fn clone(&self) -> DedicatedAllocationBufferCreateInfoNV
fn clone(&self) -> DedicatedAllocationBufferCreateInfoNV
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DedicatedAllocationBufferCreateInfoNV
impl Default for DedicatedAllocationBufferCreateInfoNV
Source§fn default() -> DedicatedAllocationBufferCreateInfoNV
fn default() -> DedicatedAllocationBufferCreateInfoNV
Returns the “default value” for a type. Read more
impl Copy for DedicatedAllocationBufferCreateInfoNV
impl ExtendsBufferCreateInfo for DedicatedAllocationBufferCreateInfoNV
Auto Trait Implementations§
impl Freeze for DedicatedAllocationBufferCreateInfoNV
impl RefUnwindSafe for DedicatedAllocationBufferCreateInfoNV
impl !Send for DedicatedAllocationBufferCreateInfoNV
impl !Sync for DedicatedAllocationBufferCreateInfoNV
impl Unpin for DedicatedAllocationBufferCreateInfoNV
impl UnsafeUnpin for DedicatedAllocationBufferCreateInfoNV
impl UnwindSafe for DedicatedAllocationBufferCreateInfoNV
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