ImplCommandLine

Trait ImplCommandLine 

Source
pub trait ImplCommandLine:
    Clone
    + Sized
    + Rc {
Show 22 methods // Required methods fn is_valid(&self) -> c_int; fn is_read_only(&self) -> c_int; fn copy(&self) -> Option<CommandLine>; fn init_from_argv(&self, argc: c_int, argv: *const *const c_char); fn init_from_string(&self, command_line: Option<&CefString>); fn reset(&self); fn argv(&self, argv: Option<&mut CefStringList>); fn command_line_string(&self) -> CefStringUserfree; fn program(&self) -> CefStringUserfree; fn set_program(&self, program: Option<&CefString>); fn has_switches(&self) -> c_int; fn has_switch(&self, name: Option<&CefString>) -> c_int; fn switch_value(&self, name: Option<&CefString>) -> CefStringUserfree; fn switches(&self, switches: Option<&mut CefStringMap>); fn append_switch(&self, name: Option<&CefString>); fn append_switch_with_value( &self, name: Option<&CefString>, value: Option<&CefString>, ); fn has_arguments(&self) -> c_int; fn arguments(&self, arguments: Option<&mut CefStringList>); fn append_argument(&self, argument: Option<&CefString>); fn prepend_wrapper(&self, wrapper: Option<&CefString>); fn remove_switch(&self, name: Option<&CefString>); fn get_raw(&self) -> *mut _cef_command_line_t;
}

Required Methods§

Source

fn is_valid(&self) -> c_int

See _cef_command_line_t::is_valid for more documentation.

Source

fn is_read_only(&self) -> c_int

See _cef_command_line_t::is_read_only for more documentation.

Source

fn copy(&self) -> Option<CommandLine>

See _cef_command_line_t::copy for more documentation.

Source

fn init_from_argv(&self, argc: c_int, argv: *const *const c_char)

See _cef_command_line_t::init_from_argv for more documentation.

Source

fn init_from_string(&self, command_line: Option<&CefString>)

See _cef_command_line_t::init_from_string for more documentation.

Source

fn reset(&self)

See _cef_command_line_t::reset for more documentation.

Source

fn argv(&self, argv: Option<&mut CefStringList>)

See _cef_command_line_t::get_argv for more documentation.

Source

fn command_line_string(&self) -> CefStringUserfree

Source

fn program(&self) -> CefStringUserfree

See _cef_command_line_t::get_program for more documentation.

Source

fn set_program(&self, program: Option<&CefString>)

See _cef_command_line_t::set_program for more documentation.

Source

fn has_switches(&self) -> c_int

See _cef_command_line_t::has_switches for more documentation.

Source

fn has_switch(&self, name: Option<&CefString>) -> c_int

See _cef_command_line_t::has_switch for more documentation.

Source

fn switch_value(&self, name: Option<&CefString>) -> CefStringUserfree

See _cef_command_line_t::get_switch_value for more documentation.

Source

fn switches(&self, switches: Option<&mut CefStringMap>)

See _cef_command_line_t::get_switches for more documentation.

Source

fn append_switch(&self, name: Option<&CefString>)

See _cef_command_line_t::append_switch for more documentation.

Source

fn append_switch_with_value( &self, name: Option<&CefString>, value: Option<&CefString>, )

Source

fn has_arguments(&self) -> c_int

See _cef_command_line_t::has_arguments for more documentation.

Source

fn arguments(&self, arguments: Option<&mut CefStringList>)

See _cef_command_line_t::get_arguments for more documentation.

Source

fn append_argument(&self, argument: Option<&CefString>)

See _cef_command_line_t::append_argument for more documentation.

Source

fn prepend_wrapper(&self, wrapper: Option<&CefString>)

See _cef_command_line_t::prepend_wrapper for more documentation.

Source

fn remove_switch(&self, name: Option<&CefString>)

See _cef_command_line_t::remove_switch for more documentation.

Source

fn get_raw(&self) -> *mut _cef_command_line_t

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§