#[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 Default for BufferCreateInfo
impl Default for BufferCreateInfo
impl Copy for BufferCreateInfo
Auto Trait Implementations§
impl Freeze for BufferCreateInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)