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