[][src]Struct fruitbasket::Trampoline

pub struct Trampoline {}

API to move the executable into a Mac app bundle and relaunch (if necessary)

Dummy implementation for non-OSX platforms. See OS X build for proper documentation.

Methods

impl Trampoline[src]

pub fn new(_name: &str, _exe: &str, _ident: &str) -> Trampoline[src]

Docs in OS X build.

pub fn name(&mut self, _name: &str) -> &mut Self[src]

Docs in OS X build.

pub fn exe(&mut self, _exe: &str) -> &mut Self[src]

Docs in OS X build.

pub fn ident(&mut self, _ident: &str) -> &mut Self[src]

Docs in OS X build.

pub fn icon(&mut self, _icon: &str) -> &mut Self[src]

Docs in OS X build.

pub fn version(&mut self, _version: &str) -> &mut Self[src]

Docs in OS X build.

pub fn plist_key(&mut self, _key: &str, _value: &str) -> &mut Self[src]

Docs in OS X build.

pub fn plist_keys(&mut self, _pairs: &Vec<(&str, &str)>) -> &mut Self[src]

Docs in OS X build.

pub fn plist_raw_string(&mut self, _s: String) -> &mut Self[src]

Docs in OS X build.

pub fn resource(&mut self, _file: &str) -> &mut Self[src]

Docs in OS X build.

pub fn resources(&mut self, _files: &Vec<&str>) -> &mut Self[src]

Docs in OS X build.

pub fn build(&mut self, _dir: InstallDir) -> Result<FruitApp, FruitError>[src]

Docs in OS X build.

pub fn is_bundled() -> bool[src]

Docs in OS X build.

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]