Enum wix::create::WixObjKind
source · pub enum WixObjKind {
Bundle,
Fragment,
Product,
}Expand description
The kind of WiX Object (wixobj) file.
Variants§
Bundle
A WiX Object (wixobj) file that ultimately links back to a WiX Source
(wxs) file with a bundle tag.
Fragment
A WiX Object (wixobj) file that ultimately links back to a WiX Source
(wxs) file with a fragment tag.
Product
A WiX Object (wixobj) file that ultimately links back to a WiX Source
(wxs) file with a product tag.
Implementations§
source§impl WixObjKind
impl WixObjKind
sourcepub fn is_bundle(&self) -> bool
pub fn is_bundle(&self) -> bool
Determines if the WiX Object (wixobj) file kind is a bundle.
Examples
A WiX Object (wixobj) file identified as a WXS Source (wxs) file
containing a bundle tag.
use wix::create::WixObjKind;
assert!(WixObjKind::Bundle.is_bundle())A WiX Object (wixobj) file identified as a WXS Source (wxs) file
containing a product tag.
use wix::create::WixObjKind;
assert!(!WixObjKind::Product.is_bundle())Trait Implementations§
source§impl Debug for WixObjKind
impl Debug for WixObjKind
source§impl FromStr for WixObjKind
impl FromStr for WixObjKind
source§impl PartialEq<WixObjKind> for WixObjKind
impl PartialEq<WixObjKind> for WixObjKind
source§fn eq(&self, other: &WixObjKind) -> bool
fn eq(&self, other: &WixObjKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.