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

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

Formats the value using the given formatter. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.