Struct vulkano::buffer::view::BufferViewCreateInfo
source · pub struct BufferViewCreateInfo {
pub format: Format,
pub _ne: NonExhaustive,
}
Expand description
Parameters to create a new BufferView
.
Fields§
§format: Format
The format of the buffer view.
The default value is Format::UNDEFINED
.
_ne: NonExhaustive
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
Auto Trait Implementations§
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