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§
Sourcefn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See _cef_command_line_t::is_valid for more documentation.
Sourcefn is_read_only(&self) -> c_int
fn is_read_only(&self) -> c_int
See _cef_command_line_t::is_read_only for more documentation.
Sourcefn copy(&self) -> Option<CommandLine>
fn copy(&self) -> Option<CommandLine>
See _cef_command_line_t::copy for more documentation.
Sourcefn init_from_argv(&self, argc: c_int, argv: *const *const c_char)
fn init_from_argv(&self, argc: c_int, argv: *const *const c_char)
See _cef_command_line_t::init_from_argv for more documentation.
Sourcefn init_from_string(&self, command_line: Option<&CefString>)
fn init_from_string(&self, command_line: Option<&CefString>)
See _cef_command_line_t::init_from_string for more documentation.
Sourcefn reset(&self)
fn reset(&self)
See _cef_command_line_t::reset for more documentation.
Sourcefn argv(&self, argv: Option<&mut CefStringList>)
fn argv(&self, argv: Option<&mut CefStringList>)
See _cef_command_line_t::get_argv for more documentation.
Sourcefn command_line_string(&self) -> CefStringUserfree
fn command_line_string(&self) -> CefStringUserfree
See _cef_command_line_t::get_command_line_string for more documentation.
Sourcefn program(&self) -> CefStringUserfree
fn program(&self) -> CefStringUserfree
See _cef_command_line_t::get_program for more documentation.
Sourcefn set_program(&self, program: Option<&CefString>)
fn set_program(&self, program: Option<&CefString>)
See _cef_command_line_t::set_program for more documentation.
Sourcefn has_switches(&self) -> c_int
fn has_switches(&self) -> c_int
See _cef_command_line_t::has_switches for more documentation.
Sourcefn has_switch(&self, name: Option<&CefString>) -> c_int
fn has_switch(&self, name: Option<&CefString>) -> c_int
See _cef_command_line_t::has_switch for more documentation.
Sourcefn switch_value(&self, name: Option<&CefString>) -> CefStringUserfree
fn switch_value(&self, name: Option<&CefString>) -> CefStringUserfree
See _cef_command_line_t::get_switch_value for more documentation.
Sourcefn switches(&self, switches: Option<&mut CefStringMap>)
fn switches(&self, switches: Option<&mut CefStringMap>)
See _cef_command_line_t::get_switches for more documentation.
Sourcefn append_switch(&self, name: Option<&CefString>)
fn append_switch(&self, name: Option<&CefString>)
See _cef_command_line_t::append_switch for more documentation.
Sourcefn append_switch_with_value(
&self,
name: Option<&CefString>,
value: Option<&CefString>,
)
fn append_switch_with_value( &self, name: Option<&CefString>, value: Option<&CefString>, )
See _cef_command_line_t::append_switch_with_value for more documentation.
Sourcefn has_arguments(&self) -> c_int
fn has_arguments(&self) -> c_int
See _cef_command_line_t::has_arguments for more documentation.
Sourcefn arguments(&self, arguments: Option<&mut CefStringList>)
fn arguments(&self, arguments: Option<&mut CefStringList>)
See _cef_command_line_t::get_arguments for more documentation.
Sourcefn append_argument(&self, argument: Option<&CefString>)
fn append_argument(&self, argument: Option<&CefString>)
See _cef_command_line_t::append_argument for more documentation.
Sourcefn prepend_wrapper(&self, wrapper: Option<&CefString>)
fn prepend_wrapper(&self, wrapper: Option<&CefString>)
See _cef_command_line_t::prepend_wrapper for more documentation.
Sourcefn remove_switch(&self, name: Option<&CefString>)
fn remove_switch(&self, name: Option<&CefString>)
See _cef_command_line_t::remove_switch for more documentation.
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.