pub struct Merger { /* private fields */ }Expand description
A builder for combining winmd files.
Implementations§
Source§impl Merger
impl Merger
Sourcepub fn arch_input(&mut self, path: impl AsRef<Path>, arch: i32) -> &mut Self
pub fn arch_input(&mut self, path: impl AsRef<Path>, arch: i32) -> &mut Self
Adds an architecture-tagged input winmd file.
Sourcepub fn union_enums(&mut self) -> &mut Self
pub fn union_enums(&mut self) -> &mut Self
Unions same-named enums across inputs into a single enum, deduplicating members.
Without this, two inputs that each define an enum with the same namespace and name
produce two TypeDef rows. tool_win32 uses this to reconcile a value type an um
header truncates (for example FILE_INFORMATION_CLASS) with the complete km
definition, yielding one enum carrying every member.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Merger
impl RefUnwindSafe for Merger
impl Send for Merger
impl Sync for Merger
impl Unpin for Merger
impl UnsafeUnpin for Merger
impl UnwindSafe for Merger
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