[−][src]Enum wix::Platform
The different values for the Platform
attribute of the Package
element.
Variants
The x86
WiX Toolset value.
The x64
WiX Toolset value.
Implementations
impl Platform
[src]
pub fn arch(self) -> &'static str
[src]
Gets the name of the platform as an architecture string as used in Rust toolchains.
This is different from the string used in WiX Source (wxs) files. This is the string
commonly used for the target_arch
conditional compilation attribute. To get the string
recognized in wxs files, use format!("{}", Platform::X86)
.
Examples
extern crate wix; use wix::Platform; fn main() { assert_eq!(Platform::X86.arch(), "i686"); assert_eq!(Platform::X64.arch(), "x86_64"); }
Trait Implementations
impl Clone for Platform
[src]
impl Copy for Platform
[src]
impl Debug for Platform
[src]
impl Default for Platform
[src]
impl Display for Platform
[src]
impl PartialEq<Platform> for Platform
[src]
impl StructuralPartialEq for Platform
[src]
Auto Trait Implementations
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,