Struct vulkanalia_sys::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
sourceimpl Clone for ConformanceVersion
impl Clone for ConformanceVersion
sourcefn clone(&self) -> ConformanceVersion
fn clone(&self) -> ConformanceVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConformanceVersion
impl Debug for ConformanceVersion
sourceimpl Default for ConformanceVersion
impl Default for ConformanceVersion
sourcefn default() -> ConformanceVersion
fn default() -> ConformanceVersion
Returns the “default value” for a type. Read more
sourceimpl Hash for ConformanceVersion
impl Hash for ConformanceVersion
sourceimpl PartialEq<ConformanceVersion> for ConformanceVersion
impl PartialEq<ConformanceVersion> for ConformanceVersion
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ConformanceVersion) -> bool
fn ne(&self, other: &ConformanceVersion) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more