Struct ash::vk::BufferCreateInfo
source · #[repr(C)]pub struct BufferCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: BufferCreateFlags,
pub size: DeviceSize,
pub usage: BufferUsageFlags,
pub sharing_mode: SharingMode,
pub queue_family_index_count: u32,
pub p_queue_family_indices: *const u32,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: BufferCreateFlags
§size: DeviceSize
§usage: BufferUsageFlags
§sharing_mode: SharingMode
§queue_family_index_count: u32
§p_queue_family_indices: *const u32
Implementations§
source§impl BufferCreateInfo
impl BufferCreateInfo
pub fn builder<'a>() -> BufferCreateInfoBuilder<'a>
Trait Implementations§
source§impl Clone for BufferCreateInfo
impl Clone for BufferCreateInfo
source§fn clone(&self) -> BufferCreateInfo
fn clone(&self) -> BufferCreateInfo
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 Debug for BufferCreateInfo
impl Debug for BufferCreateInfo
source§impl Default for BufferCreateInfo
impl Default for BufferCreateInfo
source§impl TaggedStructure for BufferCreateInfo
impl TaggedStructure for BufferCreateInfo
const STRUCTURE_TYPE: StructureType = StructureType::BUFFER_CREATE_INFO
impl Copy for BufferCreateInfo
Auto Trait Implementations§
impl RefUnwindSafe for BufferCreateInfo
impl !Send for BufferCreateInfo
impl !Sync for BufferCreateInfo
impl Unpin for BufferCreateInfo
impl UnwindSafe for BufferCreateInfo
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