[][src]Struct pelite::stringify::Machine

pub struct Machine(pub u16);

Stringifies the IMAGE_FILE_MACHINE_* constants for IMAGE_FILE_HEADER::Machine.

Methods

impl Machine[src]

pub fn to_str(self) -> Option<&'static str>[src]

Gets the code identifier name for the value.

pub fn description(self) -> Option<&'static str>[src]

Gets a longer description for the value.

Trait Implementations

impl Clone for Machine[src]

impl Copy for Machine[src]

impl FromStr for Machine[src]

type Err = ()

The associated error which can be returned from parsing.

Auto Trait Implementations

impl Sync for Machine

impl Send for Machine

impl Unpin for Machine

impl UnwindSafe for Machine

impl RefUnwindSafe for Machine

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]