#[non_exhaustive]pub struct VulkanOwnedTextureFrame {
pub generation: u64,
pub width: u32,
pub height: u32,
pub scale_factor: f64,
pub frame_id: u64,
pub format: u32,
pub layout: u32,
}Expand description
Copied metadata for an acquired Vulkan session-owned texture frame.
Backend pointers are exposed by VulkanOwnedTextureFrameHandle so their
lifetime stays tied to the open frame handle.
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.generation: u64§width: u32§height: u32§scale_factor: f64§frame_id: u64§format: u32§layout: u32Trait Implementations§
Source§impl Clone for VulkanOwnedTextureFrame
impl Clone for VulkanOwnedTextureFrame
Source§fn clone(&self) -> VulkanOwnedTextureFrame
fn clone(&self) -> VulkanOwnedTextureFrame
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 Debug for VulkanOwnedTextureFrame
impl Debug for VulkanOwnedTextureFrame
Source§impl PartialEq for VulkanOwnedTextureFrame
impl PartialEq for VulkanOwnedTextureFrame
impl Copy for VulkanOwnedTextureFrame
impl StructuralPartialEq for VulkanOwnedTextureFrame
Auto Trait Implementations§
impl Freeze for VulkanOwnedTextureFrame
impl RefUnwindSafe for VulkanOwnedTextureFrame
impl Send for VulkanOwnedTextureFrame
impl Sync for VulkanOwnedTextureFrame
impl Unpin for VulkanOwnedTextureFrame
impl UnsafeUnpin for VulkanOwnedTextureFrame
impl UnwindSafe for VulkanOwnedTextureFrame
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