pub struct Versym {
pub vs_val: u16,
}
Expand description
An ELF Symbol Version entry.
Fields
vs_val: u16
Implementations
sourceimpl Versym
impl Versym
sourcepub fn is_local(&self) -> bool
pub fn is_local(&self) -> bool
Returns true if the symbol is local and not available outside the object according to
VER_NDX_LOCAL
.
sourcepub fn is_global(&self) -> bool
pub fn is_global(&self) -> bool
Returns true if the symbol is defined in this object and globally available according
to VER_NDX_GLOBAL
.
Returns true if the hidden
bit is set according to the VERSYM_HIDDEN
bitmask.
sourcepub fn version(&self) -> u16
pub fn version(&self) -> u16
Returns the symbol version index according to the VERSYM_VERSION
bitmask.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Versym
impl Send for Versym
impl Sync for Versym
impl Unpin for Versym
impl UnwindSafe for Versym
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