pub struct ImageMemoryRequirements {
pub info: ImageAllocationInfo,
pub map_info: u32,
pub strides: [u32; 4],
pub offsets: [u32; 4],
pub modifier: u64,
pub size: u64,
pub vulkan_info: Option<VulkanInfo>,
}Expand description
The memory requirements, compression and layout of a swapchain image.
Fields§
§info: ImageAllocationInfo§map_info: u32§strides: [u32; 4]§offsets: [u32; 4]§modifier: u64§size: u64§vulkan_info: Option<VulkanInfo>Trait Implementations§
Source§impl Clone for ImageMemoryRequirements
impl Clone for ImageMemoryRequirements
impl Copy for ImageMemoryRequirements
Auto Trait Implementations§
impl Freeze for ImageMemoryRequirements
impl RefUnwindSafe for ImageMemoryRequirements
impl Send for ImageMemoryRequirements
impl Sync for ImageMemoryRequirements
impl Unpin for ImageMemoryRequirements
impl UnsafeUnpin for ImageMemoryRequirements
impl UnwindSafe for ImageMemoryRequirements
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