[−][src]Struct fruitbasket::FruitApp
Main interface for controlling and interacting with the AppKit app
Dummy implementation for non-OSX platforms. See OS X build for proper documentation.
Methods
impl FruitApp
[src]
pub fn new() -> FruitApp
[src]
Docs in OS X build.
pub fn register_callback(
&mut self,
_key: FruitCallbackKey,
_cb: FruitObjcCallback
)
[src]
&mut self,
_key: FruitCallbackKey,
_cb: FruitObjcCallback
)
Docs in OS X build.
pub fn register_apple_event(&mut self, _class: u32, _id: u32)
[src]
Docs in OS X build.
pub fn set_activation_policy(&self, _policy: ActivationPolicy)
[src]
Docs in OS X build.
pub fn terminate(exit_code: i32)
[src]
Docs in OS X build.
pub fn stop(stopper: &FruitStopper)
[src]
Docs in OS X build.
pub fn run(&mut self, period: RunPeriod) -> Result<(), ()>
[src]
Docs in OS X build.
pub fn stopper(&self) -> FruitStopper
[src]
Docs in OS X build.
pub fn bundled_resource_path(_name: &str, _extension: &str) -> Option<String>
[src]
Docs in OS X build.
Auto Trait Implementations
impl Unpin for FruitApp
impl !Sync for FruitApp
impl Send for FruitApp
impl !RefUnwindSafe for FruitApp
impl !UnwindSafe for FruitApp
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,