Enum lief::macho::commands::function_variants::Kind
pub enum Kind {
PER_PROCESS,
SYSTEM_WIDE,
ARM64,
X86_64,
UNKNOWN(u32),
}
Expand description
Enumeration describing the namespace or category of a function variant.
Each RuntimeTable
is associated with one Kind
,
which indicates the domain or context under which its variant entries
should be considered valid or applicable.
These categories map to the runtime dispatch logic used by dyld
when selecting the optimal function variant.
Variants§
PER_PROCESS
Variants that apply on a per-process basis
SYSTEM_WIDE
Variants that are selected based on system-wide capabilities or configurations.
ARM64
Variants optimized for the ARM64 architecture.
X86_64
Variants optimized for the x86-64 architecture.
UNKNOWN(u32)
Fallback/default kind when the category is not recognized.
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralEq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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