Enum lief::elf::symbol::Visibility
pub enum Visibility {
DEFAULT,
INTERNAL,
HIDDEN,
PROTECTED,
UNKNOWN(u32),
}
Expand description
Visibility of the symbol. This enum matches the STV_xxx
values of the
official ELF specs
Variants§
DEFAULT
Visibility is specified by binding type
INTERNAL
Defined by processor supplements
HIDDEN
Not visible to other components
PROTECTED
Visible in other components but not preemptable
UNKNOWN(u32)
Implementations§
§impl Visibility
impl Visibility
pub fn from_value(value: u32) -> Self
Trait Implementations§
§impl Clone for Visibility
impl Clone for Visibility
§fn clone(&self) -> Visibility
fn clone(&self) -> Visibility
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 more§impl Debug for Visibility
impl Debug for Visibility
§impl Hash for Visibility
impl Hash for Visibility
§impl Ord for Visibility
impl Ord for Visibility
§impl PartialEq<Visibility> for Visibility
impl PartialEq<Visibility> for Visibility
§fn eq(&self, other: &Visibility) -> bool
fn eq(&self, other: &Visibility) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<Visibility> for Visibility
impl PartialOrd<Visibility> for Visibility
§fn partial_cmp(&self, other: &Visibility) -> Option<Ordering>
fn partial_cmp(&self, other: &Visibility) -> 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 Visibility
impl Eq for Visibility
impl StructuralEq for Visibility
impl StructuralPartialEq for Visibility
Auto Trait Implementations§
impl RefUnwindSafe for Visibility
impl Send for Visibility
impl Sync for Visibility
impl Unpin for Visibility
impl UnwindSafe for Visibility
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