[−][src]Struct fruitbasket::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
impl Unpin for Trampoline
impl Sync for Trampoline
impl Send for Trampoline
impl RefUnwindSafe for Trampoline
impl UnwindSafe for Trampoline
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,