Struct ash::vk::definitions::BufferUsageFlags2CreateInfoKHR
source · #[repr(C)]pub struct BufferUsageFlags2CreateInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub usage: BufferUsageFlags2KHR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§usage: BufferUsageFlags2KHR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> BufferUsageFlags2CreateInfoKHR<'a>
impl<'a> BufferUsageFlags2CreateInfoKHR<'a>
pub fn usage(self, usage: BufferUsageFlags2KHR) -> Self
Trait Implementations§
source§impl<'a> Clone for BufferUsageFlags2CreateInfoKHR<'a>
impl<'a> Clone for BufferUsageFlags2CreateInfoKHR<'a>
source§fn clone(&self) -> BufferUsageFlags2CreateInfoKHR<'a>
fn clone(&self) -> BufferUsageFlags2CreateInfoKHR<'a>
Returns a copy 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<'a> Debug for BufferUsageFlags2CreateInfoKHR<'a>
impl<'a> Debug for BufferUsageFlags2CreateInfoKHR<'a>
source§impl Default for BufferUsageFlags2CreateInfoKHR<'_>
impl Default for BufferUsageFlags2CreateInfoKHR<'_>
source§impl<'a> TaggedStructure for BufferUsageFlags2CreateInfoKHR<'a>
impl<'a> TaggedStructure for BufferUsageFlags2CreateInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR
impl<'a> Copy for BufferUsageFlags2CreateInfoKHR<'a>
impl ExtendsBufferCreateInfo for BufferUsageFlags2CreateInfoKHR<'_>
impl ExtendsBufferViewCreateInfo for BufferUsageFlags2CreateInfoKHR<'_>
impl ExtendsDescriptorBufferBindingInfoEXT for BufferUsageFlags2CreateInfoKHR<'_>
impl ExtendsPhysicalDeviceExternalBufferInfo for BufferUsageFlags2CreateInfoKHR<'_>
impl Send for BufferUsageFlags2CreateInfoKHR<'_>
impl Sync for BufferUsageFlags2CreateInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for BufferUsageFlags2CreateInfoKHR<'a>
impl<'a> RefUnwindSafe for BufferUsageFlags2CreateInfoKHR<'a>
impl<'a> Unpin for BufferUsageFlags2CreateInfoKHR<'a>
impl<'a> UnwindSafe for BufferUsageFlags2CreateInfoKHR<'a>
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