pub enum Version {
NONE,
CURRENT,
UNKNOWN(u32),
}
Expand description
Match the result of Elfxx_Ehdr.e_version
Variants§
Implementations§
§impl Version
impl Version
pub fn from_value(value: u32) -> Self
Trait Implementations§
§impl Ord for Version
impl Ord for Version
§impl PartialOrd<Version> for Version
impl PartialOrd<Version> for Version
§fn partial_cmp(&self, other: &Version) -> Option<Ordering>
fn partial_cmp(&self, other: &Version) -> Option<Ordering>
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 moreimpl Copy for Version
impl Eq for Version
impl StructuralEq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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