Struct vulkano::device::physical::ConformanceVersion
source · pub struct ConformanceVersion {
pub major: u8,
pub minor: u8,
pub subminor: u8,
pub patch: u8,
}
Expand description
The version of the Vulkan conformance test that a driver is conformant against.
Fields§
§major: u8
§minor: u8
§subminor: u8
§patch: u8
Trait Implementations§
source§impl Clone for ConformanceVersion
impl Clone for ConformanceVersion
source§fn clone(&self) -> ConformanceVersion
fn clone(&self) -> ConformanceVersion
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 Debug for ConformanceVersion
impl Debug for ConformanceVersion
source§impl Display for ConformanceVersion
impl Display for ConformanceVersion
source§impl From<ConformanceVersion> for ConformanceVersion
impl From<ConformanceVersion> for ConformanceVersion
source§fn from(val: ConformanceVersion) -> Self
fn from(val: ConformanceVersion) -> Self
Converts to this type from the input type.
source§impl Ord for ConformanceVersion
impl Ord for ConformanceVersion
source§fn cmp(&self, other: &ConformanceVersion) -> Ordering
fn cmp(&self, other: &ConformanceVersion) -> Ordering
1.21.0 · 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
source§impl PartialEq for ConformanceVersion
impl PartialEq for ConformanceVersion
source§fn eq(&self, other: &ConformanceVersion) -> bool
fn eq(&self, other: &ConformanceVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConformanceVersion
impl PartialOrd for ConformanceVersion
source§fn partial_cmp(&self, other: &ConformanceVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &ConformanceVersion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ConformanceVersion
impl Eq for ConformanceVersion
impl StructuralEq for ConformanceVersion
impl StructuralPartialEq for ConformanceVersion
Auto Trait Implementations§
impl RefUnwindSafe for ConformanceVersion
impl Send for ConformanceVersion
impl Sync for ConformanceVersion
impl Unpin for ConformanceVersion
impl UnwindSafe for ConformanceVersion
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