Trait ApplicationCommandLineExt

Source
pub trait ApplicationCommandLineExt: 'static {
    // Required methods
    fn create_file_for_arg<P: AsRef<OsStr>>(&self, arg: P) -> Option<File>;
    fn get_arguments(&self) -> Vec<OsString>;
    fn get_cwd(&self) -> Option<PathBuf>;
    fn get_environ(&self) -> Vec<OsString>;
    fn get_exit_status(&self) -> i32;
    fn get_is_remote(&self) -> bool;
    fn get_platform_data(&self) -> Option<Variant>;
    fn get_stdin(&self) -> Option<InputStream>;
    fn getenv<P: AsRef<OsStr>>(&self, name: P) -> Option<GString>;
    fn set_exit_status(&self, exit_status: i32);
    fn connect_property_is_remote_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

fn create_file_for_arg<P: AsRef<OsStr>>(&self, arg: P) -> Option<File>

Source

fn get_arguments(&self) -> Vec<OsString>

Source

fn get_cwd(&self) -> Option<PathBuf>

Source

fn get_environ(&self) -> Vec<OsString>

Source

fn get_exit_status(&self) -> i32

Source

fn get_is_remote(&self) -> bool

Source

fn get_platform_data(&self) -> Option<Variant>

Source

fn get_stdin(&self) -> Option<InputStream>

Source

fn getenv<P: AsRef<OsStr>>(&self, name: P) -> Option<GString>

Source

fn set_exit_status(&self, exit_status: i32)

Source

fn connect_property_is_remote_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§