[][src]Struct fruitbasket::FruitApp

pub struct FruitApp { /* fields omitted */ }

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]

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]

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]