pe-assembler 0.1.1

PE/COFF assembler for Windows instruction sets - strongly typed, object-oriented, zero-dependency core
Documentation
/// COFF write configuration
#[derive(Copy, Debug, Clone)]
pub struct WriteConfig {
    /// Whether to include debug information
    pub include_debug_info: bool,
    /// Whether to optimize output
    pub optimize: bool,
}

impl Default for WriteConfig {
    fn default() -> Self {
        Self { include_debug_info: false, optimize: false }
    }
}

impl WriteConfig {
    /// Create a new write configuration
    pub fn new() -> Self {
        Self::default()
    }
}