Struct tugger_wix::WxsBuilder
source · pub struct WxsBuilder { /* private fields */ }
Expand description
Entity representing the build context for a .wxs file.
Implementations§
source§impl WxsBuilder
impl WxsBuilder
sourcepub fn from_data<P: AsRef<Path>>(path: P, data: Vec<u8>) -> Self
pub fn from_data<P: AsRef<Path>>(path: P, data: Vec<u8>) -> Self
Create a new instance from data.
sourcepub fn from_path<P: AsRef<Path>>(path: P) -> Result<Self>
pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Self>
Create a new instance from a filesystem file.
pub fn path(&self) -> &Path
pub fn data(&self) -> &[u8] ⓘ
pub fn preprocessor_parameters(
&self
) -> impl Iterator<Item = (&String, &String)>
sourcepub fn set_preprocessor_parameter<S: ToString>(&mut self, key: S, value: S)
pub fn set_preprocessor_parameter<S: ToString>(&mut self, key: S, value: S)
Set a preprocessor parameter value.
These are passed to candle.exe
.