#[non_exhaustive]pub struct VulkanBorrowedTextureDescriptor {
pub extent: RenderTargetExtent,
pub context: VulkanContextDescriptor,
pub image: NativePointer,
pub image_view: NativePointer,
pub format: u32,
pub initial_layout: u32,
pub final_layout: u32,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.extent: RenderTargetExtent§context: VulkanContextDescriptor§image: NativePointer§image_view: NativePointer§format: u32§initial_layout: u32§final_layout: u32Implementations§
Source§impl VulkanBorrowedTextureDescriptor
impl VulkanBorrowedTextureDescriptor
pub fn new( extent: RenderTargetExtent, context: VulkanContextDescriptor, image: NativePointer, image_view: NativePointer, format: u32, initial_layout: u32, final_layout: u32, ) -> Self
Trait Implementations§
Source§impl Clone for VulkanBorrowedTextureDescriptor
impl Clone for VulkanBorrowedTextureDescriptor
Source§fn clone(&self) -> VulkanBorrowedTextureDescriptor
fn clone(&self) -> VulkanBorrowedTextureDescriptor
Returns a duplicate 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 PartialEq for VulkanBorrowedTextureDescriptor
impl PartialEq for VulkanBorrowedTextureDescriptor
Source§fn eq(&self, other: &VulkanBorrowedTextureDescriptor) -> bool
fn eq(&self, other: &VulkanBorrowedTextureDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VulkanBorrowedTextureDescriptor
Auto Trait Implementations§
impl Freeze for VulkanBorrowedTextureDescriptor
impl RefUnwindSafe for VulkanBorrowedTextureDescriptor
impl !Send for VulkanBorrowedTextureDescriptor
impl !Sync for VulkanBorrowedTextureDescriptor
impl Unpin for VulkanBorrowedTextureDescriptor
impl UnsafeUnpin for VulkanBorrowedTextureDescriptor
impl UnwindSafe for VulkanBorrowedTextureDescriptor
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