Struct vulkanalia::vk::ConformanceVersion
source · #[repr(C)]pub struct ConformanceVersion {
pub major: u8,
pub minor: u8,
pub subminor: u8,
pub patch: u8,
}
Expand description
Fields§
§major: u8
§minor: u8
§subminor: u8
§patch: u8
Trait Implementations§
source§impl Cast for ConformanceVersion
impl Cast for ConformanceVersion
§type Target = ConformanceVersion
type Target = ConformanceVersion
The other type this type can be used interchangeably with in FFI.
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 Default for ConformanceVersion
impl Default for ConformanceVersion
source§fn default() -> ConformanceVersion
fn default() -> ConformanceVersion
Returns the “default value” for a type. Read more
source§impl HasBuilder<'static> for ConformanceVersion
impl HasBuilder<'static> for ConformanceVersion
source§impl Hash for ConformanceVersion
impl Hash for ConformanceVersion
source§impl PartialEq<ConformanceVersion> for ConformanceVersion
impl PartialEq<ConformanceVersion> 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 ==
.impl 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