Enum object::read::pe::ResourceDirectoryEntryData
source · pub enum ResourceDirectoryEntryData<'data> {
Table(ResourceDirectoryTable<'data>),
Data(&'data ImageResourceDataEntry),
}
Expand description
Data associated with a resource directory entry.
Variants§
Table(ResourceDirectoryTable<'data>)
A subtable entry.
Data(&'data ImageResourceDataEntry)
A resource data entry.
Implementations§
source§impl<'data> ResourceDirectoryEntryData<'data>
impl<'data> ResourceDirectoryEntryData<'data>
sourcepub fn table(self) -> Option<ResourceDirectoryTable<'data>>
pub fn table(self) -> Option<ResourceDirectoryTable<'data>>
Converts to an option of table.
Helper for iterator filtering.
sourcepub fn data(self) -> Option<&'data ImageResourceDataEntry>
pub fn data(self) -> Option<&'data ImageResourceDataEntry>
Converts to an option of data entry.
Helper for iterator filtering.
Trait Implementations§
source§impl<'data> Clone for ResourceDirectoryEntryData<'data>
impl<'data> Clone for ResourceDirectoryEntryData<'data>
source§fn clone(&self) -> ResourceDirectoryEntryData<'data>
fn clone(&self) -> ResourceDirectoryEntryData<'data>
Returns a copy 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 more