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
source§fn clone(&self) -> ImageMemoryRequirements
fn clone(&self) -> ImageMemoryRequirements
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 Default for ImageMemoryRequirements
impl Default for ImageMemoryRequirements
source§fn default() -> ImageMemoryRequirements
fn default() -> ImageMemoryRequirements
Returns the “default value” for a type. Read more
impl Copy for ImageMemoryRequirements
Auto Trait Implementations§
impl RefUnwindSafe for ImageMemoryRequirements
impl Send for ImageMemoryRequirements
impl Sync for ImageMemoryRequirements
impl Unpin 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