pub enum ElfMachine {
None,
I386,
X86_64,
Arm,
AArch64,
RiscV,
}Expand description
ELF 机器类型枚举
定义了 ELF 文件支持的处理器架构类型。
Variants§
Trait Implementations§
Source§impl Clone for ElfMachine
impl Clone for ElfMachine
Source§fn clone(&self) -> ElfMachine
fn clone(&self) -> ElfMachine
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 moreSource§impl Debug for ElfMachine
impl Debug for ElfMachine
Source§impl<'de> Deserialize<'de> for ElfMachine
impl<'de> Deserialize<'de> for ElfMachine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<u16> for ElfMachine
impl From<u16> for ElfMachine
Source§impl Serialize for ElfMachine
impl Serialize for ElfMachine
impl Copy for ElfMachine
Auto Trait Implementations§
impl Freeze for ElfMachine
impl RefUnwindSafe for ElfMachine
impl Send for ElfMachine
impl Sync for ElfMachine
impl Unpin for ElfMachine
impl UnwindSafe for ElfMachine
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