Trait ApplicationCommandLineExt

Source
pub trait ApplicationCommandLineExt: IsA<ApplicationCommandLine> + 'static {
Show 15 methods // Provided methods fn create_file_for_arg(&self, arg: impl AsRef<OsStr>) -> File { ... } fn done(&self) { ... } fn arguments(&self) -> Vec<OsString> { ... } fn cwd(&self) -> Option<PathBuf> { ... } fn environ(&self) -> Vec<OsString> { ... } fn exit_status(&self) -> i32 { ... } fn is_remote(&self) -> bool { ... } fn options_dict(&self) -> VariantDict { ... } fn platform_data(&self) -> Option<Variant> { ... } fn stdin(&self) -> Option<InputStream> { ... } fn getenv(&self, name: impl AsRef<OsStr>) -> Option<GString> { ... } fn print_literal(&self, message: &str) { ... } fn printerr_literal(&self, message: &str) { ... } fn set_exit_status(&self, exit_status: i32) { ... } fn connect_is_remote_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

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

Source

fn done(&self)

Available on crate feature v2_80 only.
Source

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

Source

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

Source

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

Source

fn exit_status(&self) -> i32

Source

fn is_remote(&self) -> bool

Source

fn options_dict(&self) -> VariantDict

Source

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

Source

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

Source

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

Source

fn print_literal(&self, message: &str)

Available on crate feature v2_80 only.
Source

fn printerr_literal(&self, message: &str)

Available on crate feature v2_80 only.
Source

fn set_exit_status(&self, exit_status: i32)

Source

fn connect_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§