pub struct Writer { /* private fields */ }Expand description
Builder that converts .winmd metadata into RDL.
Implementations§
Source§impl Writer
impl Writer
Sourcepub fn input(&mut self, input: impl AsRef<Path>) -> &mut Self
pub fn input(&mut self, input: impl AsRef<Path>) -> &mut Self
Adds an input .winmd file or directory.
Sourcepub fn input_bytes(&mut self, input: &[u8]) -> &mut Self
pub fn input_bytes(&mut self, input: &[u8]) -> &mut Self
Adds a .winmd file from memory.
Sourcepub fn input_byte_sets<I, B>(&mut self, inputs: I) -> &mut Self
pub fn input_byte_sets<I, B>(&mut self, inputs: I) -> &mut Self
Adds .winmd files from memory.
Sourcepub fn input_default(&mut self) -> &mut Self
pub fn input_default(&mut self) -> &mut Self
Adds the default Windows metadata inputs.
Sourcepub fn output(&mut self, output: impl AsRef<Path>) -> &mut Self
pub fn output(&mut self, output: impl AsRef<Path>) -> &mut Self
Sets the output .rdl file or directory path.
Sourcepub fn filters<I, S>(&mut self, filters: I) -> &mut Self
pub fn filters<I, S>(&mut self, filters: I) -> &mut Self
Adds multiple filter rules. See filter.
Sourcepub fn filter(&mut self, filter: &str) -> &mut Self
pub fn filter(&mut self, filter: &str) -> &mut Self
Adds an include/exclude filter rule. Prefix with ! to exclude.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Writer
impl RefUnwindSafe for Writer
impl Send for Writer
impl Sync for Writer
impl Unpin for Writer
impl UnsafeUnpin for Writer
impl UnwindSafe for Writer
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