Skip to content

Commit

Permalink
Add doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kkent030315 committed Oct 31, 2024
1 parent cef82f6 commit 3b8d596
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pe/resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,10 @@ pub const VFT2_FONT_VECTOR: u32 = 0x00000002;
/// [`VsFixedFileInfo::file_subtype`]: Indicates a TrueType font subtype.
pub const VFT2_FONT_TRUETYPE: u32 = 0x00000003;

/// Iterator over [`ResourceString`]
#[derive(Debug, Copy, Clone)]
pub struct ResourceStringIterator<'a> {
/// The raw data must be scoped to the [`ResourceDataEntry`]
pub data: &'a [u8],
}

Expand Down Expand Up @@ -628,6 +630,7 @@ impl<'a> Iterator for ResourceStringIterator<'a> {
}
}

/// Represents a resource string entry.
#[derive(Copy, Clone)]
pub struct ResourceString<'a> {
/// The length, in bytes, of this String structure.
Expand Down

0 comments on commit 3b8d596

Please sign in to comment.