Struct pelite::pe32::headers::Headers [−][src]
pub struct Headers<P> { /* fields omitted */ }
Describes the PE headers.
Methods
impl<'a, P: Pe<'a> + Copy> Headers<P>
[src]
impl<'a, P: Pe<'a> + Copy> Headers<P>
pub fn pe(&self) -> P
[src]
pub fn pe(&self) -> P
pub fn image(&self) -> &'a [u8]
[src]
pub fn image(&self) -> &'a [u8]
Gets the PE headers as a byte slice.
pub fn check_sum(&self) -> u32
[src]
pub fn check_sum(&self) -> u32
Calculates the optional header's check_sum.
Trait Implementations
impl<'a, P: Pe<'a> + Copy> Serialize for Headers<P>
[src]
impl<'a, P: Pe<'a> + Copy> Serialize for Headers<P>
fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>
[src]
fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>
Serialize this value into the given Serde serializer. Read more
impl<P: Copy> Copy for Headers<P>
[src]
impl<P: Copy> Copy for Headers<P>
impl<P: Clone> Clone for Headers<P>
[src]
impl<P: Clone> Clone for Headers<P>