Struct tartan_uefi::Revision
source · #[repr(transparent)]pub struct Revision(_);
Implementations§
source§impl Revision
impl Revision
pub const V2_80: Self = _
pub const V2_70: Self = _
pub const V2_60: Self = _
pub const V2_50: Self = _
pub const V2_40: Self = _
pub const V2_31: Self = _
pub const V2_30: Self = _
pub const V2_20: Self = _
pub const V2_10: Self = _
pub const V2_00: Self = _
pub const V1_10: Self = _
pub const V1_02: Self = _
source§impl Revision
impl Revision
pub const LATEST: Revision = Revision::V2_80
pub fn major_version(self) -> u16
pub fn minor_version(self) -> u16
pub fn fix_version(self) -> u16
Trait Implementations§
source§impl Ord for Revision
impl Ord for Revision
source§impl PartialOrd<Revision> for Revision
impl PartialOrd<Revision> for Revision
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 more