Struct ash::vk::definitions::DescriptorBufferInfo
source · #[repr(C)]pub struct DescriptorBufferInfo {
pub buffer: Buffer,
pub offset: DeviceSize,
pub range: DeviceSize,
}
Expand description
Fields§
§buffer: Buffer
§offset: DeviceSize
§range: DeviceSize
Implementations§
source§impl DescriptorBufferInfo
impl DescriptorBufferInfo
pub fn buffer(self, buffer: Buffer) -> Self
pub fn offset(self, offset: DeviceSize) -> Self
pub fn range(self, range: DeviceSize) -> Self
Trait Implementations§
source§impl Clone for DescriptorBufferInfo
impl Clone for DescriptorBufferInfo
source§fn clone(&self) -> DescriptorBufferInfo
fn clone(&self) -> DescriptorBufferInfo
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 DescriptorBufferInfo
impl Debug for DescriptorBufferInfo
source§impl Default for DescriptorBufferInfo
impl Default for DescriptorBufferInfo
source§fn default() -> DescriptorBufferInfo
fn default() -> DescriptorBufferInfo
Returns the “default value” for a type. Read more
impl Copy for DescriptorBufferInfo
Auto Trait Implementations§
impl Freeze for DescriptorBufferInfo
impl RefUnwindSafe for DescriptorBufferInfo
impl Send for DescriptorBufferInfo
impl Sync for DescriptorBufferInfo
impl Unpin for DescriptorBufferInfo
impl UnwindSafe for DescriptorBufferInfo
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
)