Struct vulkanalia::vk::BufferCreateInfo
source · #[repr(C)]pub struct BufferCreateInfo {
pub s_type: StructureType,
pub next: *const c_void,
pub flags: BufferCreateFlags,
pub size: u64,
pub usage: BufferUsageFlags,
pub sharing_mode: SharingMode,
pub queue_family_index_count: u32,
pub queue_family_indices: *const u32,
}
Expand description
Fields§
§s_type: StructureType
§next: *const c_void
§flags: BufferCreateFlags
§size: u64
§usage: BufferUsageFlags
§sharing_mode: SharingMode
§queue_family_index_count: u32
§queue_family_indices: *const u32
Trait Implementations§
source§impl Cast for BufferCreateInfo
impl Cast for BufferCreateInfo
§type Target = BufferCreateInfo
type Target = BufferCreateInfo
The other type this type can be used interchangeably with in FFI.
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§fn default() -> BufferCreateInfo
fn default() -> BufferCreateInfo
Returns the “default value” for a type. Read more
source§impl<'b> HasBuilder<'b> for BufferCreateInfo
impl<'b> HasBuilder<'b> for BufferCreateInfo
source§impl Hash for BufferCreateInfo
impl Hash for BufferCreateInfo
source§impl InputChainStruct for BufferCreateInfo
impl InputChainStruct for BufferCreateInfo
source§impl PartialEq<BufferCreateInfo> for BufferCreateInfo
impl PartialEq<BufferCreateInfo> for BufferCreateInfo
source§fn eq(&self, other: &BufferCreateInfo) -> bool
fn eq(&self, other: &BufferCreateInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BufferCreateInfo
impl Eq for BufferCreateInfo
impl StructuralEq for BufferCreateInfo
impl StructuralPartialEq 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