Struct ash::vk::DeviceImageMemoryRequirementsKHRBuilder
source · [−]#[repr(transparent)]pub struct DeviceImageMemoryRequirementsKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> DeviceImageMemoryRequirementsKHRBuilder<'a>
impl<'a> DeviceImageMemoryRequirementsKHRBuilder<'a>
pub fn create_info(self, create_info: &'a ImageCreateInfo) -> Self
pub fn plane_aspect(self, plane_aspect: ImageAspectFlags) -> Self
sourcepub fn build(self) -> DeviceImageMemoryRequirementsKHR
pub fn build(self) -> DeviceImageMemoryRequirementsKHR
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
sourceimpl<'a> Deref for DeviceImageMemoryRequirementsKHRBuilder<'a>
impl<'a> Deref for DeviceImageMemoryRequirementsKHRBuilder<'a>
type Target = DeviceImageMemoryRequirementsKHR
type Target = DeviceImageMemoryRequirementsKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DeviceImageMemoryRequirementsKHRBuilder<'a>
impl<'a> !Send for DeviceImageMemoryRequirementsKHRBuilder<'a>
impl<'a> !Sync for DeviceImageMemoryRequirementsKHRBuilder<'a>
impl<'a> Unpin for DeviceImageMemoryRequirementsKHRBuilder<'a>
impl<'a> UnwindSafe for DeviceImageMemoryRequirementsKHRBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more