[][src]Struct pes::pe32::file::PeFile

pub struct PeFile { /* fields omitted */ }


impl PeFile[src]

pub fn from_bytes(bytes: Vec<u8>) -> PeFile[src]

pub fn read(path: PathBuf) -> Result<PeFile, Error>[src]

pub fn into_image_view(self) -> Self[src]

将 PeFile.image 从 file view 转为 image view

pub fn into_file_view(self) -> Self[src]

将 image view 转为 file view

pub fn save_to_disk(self, file_path: PathBuf) -> Result<(), Error>[src]


impl PeFile[src]

pub fn pe_info(&self)[src]

Trait Implementations

Auto Trait Implementations

impl RefUnwindSafe for PeFile

impl Send for PeFile

impl Sync for PeFile

impl Unpin for PeFile

impl UnwindSafe for PeFile

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.