Enum 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 duplicate 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 for Visibility
impl PartialEq for Visibility
§impl PartialOrd for Visibility
impl PartialOrd for Visibility
impl Copy for Visibility
impl Eq for Visibility
impl StructuralPartialEq for Visibility
Auto Trait Implementations§
impl Freeze for Visibility
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