#[repr(C)]pub struct TcgVersion {
pub major: u8,
pub minor: u8,
pub rev_major: u8,
pub rev_minor: u8,
}
Expand description
Version information.
Fields§
§major: u8
Major version.
minor: u8
Minor version.
rev_major: u8
§rev_minor: u8
Trait Implementations§
Source§impl Clone for TcgVersion
impl Clone for TcgVersion
Source§fn clone(&self) -> TcgVersion
fn clone(&self) -> TcgVersion
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 TcgVersion
impl Debug for TcgVersion
Source§impl Default for TcgVersion
impl Default for TcgVersion
Source§fn default() -> TcgVersion
fn default() -> TcgVersion
Returns the “default value” for a type. Read more
Source§impl Ord for TcgVersion
impl Ord for TcgVersion
Source§fn cmp(&self, other: &TcgVersion) -> Ordering
fn cmp(&self, other: &TcgVersion) -> 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 TcgVersion
impl PartialEq for TcgVersion
Source§impl PartialOrd for TcgVersion
impl PartialOrd for TcgVersion
impl Copy for TcgVersion
impl Eq for TcgVersion
impl StructuralPartialEq for TcgVersion
Auto Trait Implementations§
impl Freeze for TcgVersion
impl RefUnwindSafe for TcgVersion
impl Send for TcgVersion
impl Sync for TcgVersion
impl Unpin for TcgVersion
impl UnwindSafe for TcgVersion
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