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 Freeze for ImageMemoryRequirements
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)