pub struct VulkanLayerVersion {
pub major: u32,
pub minor: u32,
pub patch: u32,
}Expand description
A Vulkan layer’s specification version.
Fields§
§major: u32Major version.
minor: u32Minor version.
patch: u32Patch version (the SDK release).
Implementations§
Source§impl VulkanLayerVersion
impl VulkanLayerVersion
Sourcepub const VIDEO_SESSIONS: Self
pub const VIDEO_SESSIONS: Self
The first Khronos validation layer FFmpeg’s video sessions survive.
Older ones crash or hang inside the session setup, on the pNext
chain FFmpeg builds for it: a decode session as an encode one.
Sourcepub const fn from_packed(version: u32) -> Self
pub const fn from_packed(version: u32) -> Self
Unpacks a VK_MAKE_API_VERSION value.
Trait Implementations§
Source§impl Clone for VulkanLayerVersion
impl Clone for VulkanLayerVersion
impl Copy for VulkanLayerVersion
Source§impl Debug for VulkanLayerVersion
impl Debug for VulkanLayerVersion
Source§impl Display for VulkanLayerVersion
impl Display for VulkanLayerVersion
impl Eq for VulkanLayerVersion
Source§impl Ord for VulkanLayerVersion
impl Ord for VulkanLayerVersion
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for VulkanLayerVersion
impl PartialEq for VulkanLayerVersion
Source§impl PartialOrd for VulkanLayerVersion
impl PartialOrd for VulkanLayerVersion
impl StructuralPartialEq for VulkanLayerVersion
Auto Trait Implementations§
impl Freeze for VulkanLayerVersion
impl RefUnwindSafe for VulkanLayerVersion
impl Send for VulkanLayerVersion
impl Sync for VulkanLayerVersion
impl Unpin for VulkanLayerVersion
impl UnsafeUnpin for VulkanLayerVersion
impl UnwindSafe for VulkanLayerVersion
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.