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 moreAuto Trait Implementations§
impl<'data> Freeze for ResourceDirectoryEntryData<'data>
impl<'data> RefUnwindSafe for ResourceDirectoryEntryData<'data>
impl<'data> Send for ResourceDirectoryEntryData<'data>
impl<'data> Sync for ResourceDirectoryEntryData<'data>
impl<'data> Unpin for ResourceDirectoryEntryData<'data>
impl<'data> UnwindSafe for ResourceDirectoryEntryData<'data>
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