#[repr(C)]pub struct BufferViewCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: BufferViewCreateFlags,
pub buffer: Buffer,
pub format: Format,
pub offset: DeviceSize,
pub range: DeviceSize,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: BufferViewCreateFlags
§buffer: Buffer
§format: Format
§offset: DeviceSize
§range: DeviceSize
Implementations§
Source§impl BufferViewCreateInfo
impl BufferViewCreateInfo
pub fn builder<'a>() -> BufferViewCreateInfoBuilder<'a>
Trait Implementations§
Source§impl Clone for BufferViewCreateInfo
impl Clone for BufferViewCreateInfo
Source§fn clone(&self) -> BufferViewCreateInfo
fn clone(&self) -> BufferViewCreateInfo
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 BufferViewCreateInfo
impl Debug for BufferViewCreateInfo
Source§impl Default for BufferViewCreateInfo
impl Default for BufferViewCreateInfo
Source§impl TaggedStructure for BufferViewCreateInfo
impl TaggedStructure for BufferViewCreateInfo
const STRUCTURE_TYPE: StructureType = StructureType::BUFFER_VIEW_CREATE_INFO
impl Copy for BufferViewCreateInfo
Auto Trait Implementations§
impl Freeze for BufferViewCreateInfo
impl RefUnwindSafe for BufferViewCreateInfo
impl !Send for BufferViewCreateInfo
impl !Sync for BufferViewCreateInfo
impl Unpin for BufferViewCreateInfo
impl UnwindSafe for BufferViewCreateInfo
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
)