Struct fruitbasket::Trampoline
[−]
[src]
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]
fn new(_name: &str, _exe: &str, _ident: &str) -> Trampoline
Docs in OS X build.
fn name(&mut self, _name: &str) -> &mut Self
Docs in OS X build.
fn exe(&mut self, _exe: &str) -> &mut Self
Docs in OS X build.
fn ident(&mut self, _ident: &str) -> &mut Self
Docs in OS X build.
fn icon(&mut self, _icon: &str) -> &mut Self
Docs in OS X build.
fn version(&mut self, _version: &str) -> &mut Self
Docs in OS X build.
fn plist_key(&mut self, _key: &str, _value: &str) -> &mut Self
Docs in OS X build.
fn plist_keys(&mut self, _pairs: &Vec<(&str, &str)>) -> &mut Self
Docs in OS X build.
fn resource(&mut self, _file: &str) -> &mut Self
Docs in OS X build.
fn resources(&mut self, _files: &Vec<&str>) -> &mut Self
Docs in OS X build.
fn build(&mut self, _dir: InstallDir) -> Result<FruitApp, FruitError>
Docs in OS X build.
fn is_bundled() -> bool
Docs in OS X build.