pub struct DeviceImageMemoryRequirementsBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> DeviceImageMemoryRequirementsBuilder<'a>
impl<'a> DeviceImageMemoryRequirementsBuilder<'a>
pub fn create_info(self, create_info: &'a ImageCreateInfo) -> Self
pub fn plane_aspect(self, plane_aspect: ImageAspectFlags) -> Self
Sourcepub fn build(self) -> DeviceImageMemoryRequirements
pub fn build(self) -> DeviceImageMemoryRequirements
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 DeviceImageMemoryRequirementsBuilder<'a>
impl<'a> Deref for DeviceImageMemoryRequirementsBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceImageMemoryRequirementsBuilder<'a>
impl<'a> RefUnwindSafe for DeviceImageMemoryRequirementsBuilder<'a>
impl<'a> !Send for DeviceImageMemoryRequirementsBuilder<'a>
impl<'a> !Sync for DeviceImageMemoryRequirementsBuilder<'a>
impl<'a> Unpin for DeviceImageMemoryRequirementsBuilder<'a>
impl<'a> UnwindSafe for DeviceImageMemoryRequirementsBuilder<'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