Struct ash::vk::StridedDeviceAddressRegionKHRBuilder
source · pub struct StridedDeviceAddressRegionKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> StridedDeviceAddressRegionKHRBuilder<'a>
impl<'a> StridedDeviceAddressRegionKHRBuilder<'a>
pub fn device_address(self, device_address: DeviceAddress) -> Self
pub fn stride(self, stride: DeviceSize) -> Self
pub fn size(self, size: DeviceSize) -> Self
sourcepub fn build(self) -> StridedDeviceAddressRegionKHR
pub fn build(self) -> StridedDeviceAddressRegionKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for StridedDeviceAddressRegionKHRBuilder<'a>
impl<'a> Deref for StridedDeviceAddressRegionKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for StridedDeviceAddressRegionKHRBuilder<'a>
impl<'a> Send for StridedDeviceAddressRegionKHRBuilder<'a>
impl<'a> Sync for StridedDeviceAddressRegionKHRBuilder<'a>
impl<'a> Unpin for StridedDeviceAddressRegionKHRBuilder<'a>
impl<'a> UnwindSafe for StridedDeviceAddressRegionKHRBuilder<'a>
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