#[repr(u32)]pub enum ProgramType {
PT_NULL = 0,
PT_LOAD = 1,
PT_DYNAMIC = 2,
PT_INTERP = 3,
PT_NOTE = 4,
PT_SHLIB = 5,
PT_PHDR = 6,
PT_TLS = 7,
}Variants§
PT_NULL = 0
PT_LOAD = 1
PT_DYNAMIC = 2
PT_INTERP = 3
PT_NOTE = 4
PT_SHLIB = 5
PT_PHDR = 6
PT_TLS = 7
Trait Implementations§
Source§impl Clone for ProgramType
impl Clone for ProgramType
Source§fn clone(&self) -> ProgramType
fn clone(&self) -> ProgramType
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 ProgramType
impl Debug for ProgramType
Source§impl<'de> Deserialize<'de> for ProgramType
impl<'de> Deserialize<'de> for ProgramType
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<ProgramType> for &str
impl From<ProgramType> for &str
Source§fn from(val: ProgramType) -> Self
fn from(val: ProgramType) -> Self
Converts to this type from the input type.
Source§impl From<ProgramType> for u32
impl From<ProgramType> for u32
Source§fn from(val: ProgramType) -> Self
fn from(val: ProgramType) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProgramType
impl Serialize for ProgramType
Auto Trait Implementations§
impl Freeze for ProgramType
impl RefUnwindSafe for ProgramType
impl Send for ProgramType
impl Sync for ProgramType
impl Unpin for ProgramType
impl UnwindSafe for ProgramType
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