pub trait ImplDictionaryValue:
Clone
+ Sized
+ Rc {
Show 30 methods
// Required methods
fn is_valid(&self) -> c_int;
fn is_owned(&self) -> c_int;
fn is_read_only(&self) -> c_int;
fn is_same(&self, that: Option<&mut DictionaryValue>) -> c_int;
fn is_equal(&self, that: Option<&mut DictionaryValue>) -> c_int;
fn copy(&self, exclude_empty_children: c_int) -> Option<DictionaryValue>;
fn size(&self) -> usize;
fn clear(&self) -> c_int;
fn has_key(&self, key: Option<&CefString>) -> c_int;
fn keys(&self, keys: Option<&mut CefStringList>) -> c_int;
fn remove(&self, key: Option<&CefString>) -> c_int;
fn get_type(&self, key: Option<&CefString>) -> ValueType;
fn value(&self, key: Option<&CefString>) -> Option<Value>;
fn bool(&self, key: Option<&CefString>) -> c_int;
fn int(&self, key: Option<&CefString>) -> c_int;
fn double(&self, key: Option<&CefString>) -> f64;
fn string(&self, key: Option<&CefString>) -> CefStringUserfree;
fn binary(&self, key: Option<&CefString>) -> Option<BinaryValue>;
fn dictionary(&self, key: Option<&CefString>) -> Option<DictionaryValue>;
fn list(&self, key: Option<&CefString>) -> Option<ListValue>;
fn set_value(
&self,
key: Option<&CefString>,
value: Option<&mut Value>,
) -> c_int;
fn set_null(&self, key: Option<&CefString>) -> c_int;
fn set_bool(&self, key: Option<&CefString>, value: c_int) -> c_int;
fn set_int(&self, key: Option<&CefString>, value: c_int) -> c_int;
fn set_double(&self, key: Option<&CefString>, value: f64) -> c_int;
fn set_string(
&self,
key: Option<&CefString>,
value: Option<&CefString>,
) -> c_int;
fn set_binary(
&self,
key: Option<&CefString>,
value: Option<&mut BinaryValue>,
) -> c_int;
fn set_dictionary(
&self,
key: Option<&CefString>,
value: Option<&mut DictionaryValue>,
) -> c_int;
fn set_list(
&self,
key: Option<&CefString>,
value: Option<&mut ListValue>,
) -> c_int;
fn get_raw(&self) -> *mut _cef_dictionary_value_t;
}Required Methods§
Sourcefn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See _cef_dictionary_value_t::is_valid for more documentation.
Sourcefn is_owned(&self) -> c_int
fn is_owned(&self) -> c_int
See _cef_dictionary_value_t::is_owned for more documentation.
Sourcefn is_read_only(&self) -> c_int
fn is_read_only(&self) -> c_int
See _cef_dictionary_value_t::is_read_only for more documentation.
Sourcefn is_same(&self, that: Option<&mut DictionaryValue>) -> c_int
fn is_same(&self, that: Option<&mut DictionaryValue>) -> c_int
See _cef_dictionary_value_t::is_same for more documentation.
Sourcefn is_equal(&self, that: Option<&mut DictionaryValue>) -> c_int
fn is_equal(&self, that: Option<&mut DictionaryValue>) -> c_int
See _cef_dictionary_value_t::is_equal for more documentation.
Sourcefn copy(&self, exclude_empty_children: c_int) -> Option<DictionaryValue>
fn copy(&self, exclude_empty_children: c_int) -> Option<DictionaryValue>
See _cef_dictionary_value_t::copy for more documentation.
Sourcefn size(&self) -> usize
fn size(&self) -> usize
See _cef_dictionary_value_t::get_size for more documentation.
Sourcefn clear(&self) -> c_int
fn clear(&self) -> c_int
See _cef_dictionary_value_t::clear for more documentation.
Sourcefn has_key(&self, key: Option<&CefString>) -> c_int
fn has_key(&self, key: Option<&CefString>) -> c_int
See _cef_dictionary_value_t::has_key for more documentation.
Sourcefn keys(&self, keys: Option<&mut CefStringList>) -> c_int
fn keys(&self, keys: Option<&mut CefStringList>) -> c_int
See _cef_dictionary_value_t::get_keys for more documentation.
Sourcefn remove(&self, key: Option<&CefString>) -> c_int
fn remove(&self, key: Option<&CefString>) -> c_int
See _cef_dictionary_value_t::remove for more documentation.
Sourcefn get_type(&self, key: Option<&CefString>) -> ValueType
fn get_type(&self, key: Option<&CefString>) -> ValueType
See _cef_dictionary_value_t::get_type for more documentation.
Sourcefn value(&self, key: Option<&CefString>) -> Option<Value>
fn value(&self, key: Option<&CefString>) -> Option<Value>
See _cef_dictionary_value_t::get_value for more documentation.
Sourcefn bool(&self, key: Option<&CefString>) -> c_int
fn bool(&self, key: Option<&CefString>) -> c_int
See _cef_dictionary_value_t::get_bool for more documentation.
Sourcefn int(&self, key: Option<&CefString>) -> c_int
fn int(&self, key: Option<&CefString>) -> c_int
See _cef_dictionary_value_t::get_int for more documentation.
Sourcefn double(&self, key: Option<&CefString>) -> f64
fn double(&self, key: Option<&CefString>) -> f64
See _cef_dictionary_value_t::get_double for more documentation.
Sourcefn string(&self, key: Option<&CefString>) -> CefStringUserfree
fn string(&self, key: Option<&CefString>) -> CefStringUserfree
See _cef_dictionary_value_t::get_string for more documentation.
Sourcefn binary(&self, key: Option<&CefString>) -> Option<BinaryValue>
fn binary(&self, key: Option<&CefString>) -> Option<BinaryValue>
See _cef_dictionary_value_t::get_binary for more documentation.
Sourcefn dictionary(&self, key: Option<&CefString>) -> Option<DictionaryValue>
fn dictionary(&self, key: Option<&CefString>) -> Option<DictionaryValue>
See _cef_dictionary_value_t::get_dictionary for more documentation.
Sourcefn list(&self, key: Option<&CefString>) -> Option<ListValue>
fn list(&self, key: Option<&CefString>) -> Option<ListValue>
See _cef_dictionary_value_t::get_list for more documentation.
Sourcefn set_value(&self, key: Option<&CefString>, value: Option<&mut Value>) -> c_int
fn set_value(&self, key: Option<&CefString>, value: Option<&mut Value>) -> c_int
See _cef_dictionary_value_t::set_value for more documentation.
Sourcefn set_null(&self, key: Option<&CefString>) -> c_int
fn set_null(&self, key: Option<&CefString>) -> c_int
See _cef_dictionary_value_t::set_null for more documentation.
Sourcefn set_bool(&self, key: Option<&CefString>, value: c_int) -> c_int
fn set_bool(&self, key: Option<&CefString>, value: c_int) -> c_int
See _cef_dictionary_value_t::set_bool for more documentation.
Sourcefn set_int(&self, key: Option<&CefString>, value: c_int) -> c_int
fn set_int(&self, key: Option<&CefString>, value: c_int) -> c_int
See _cef_dictionary_value_t::set_int for more documentation.
Sourcefn set_double(&self, key: Option<&CefString>, value: f64) -> c_int
fn set_double(&self, key: Option<&CefString>, value: f64) -> c_int
See _cef_dictionary_value_t::set_double for more documentation.
Sourcefn set_string(
&self,
key: Option<&CefString>,
value: Option<&CefString>,
) -> c_int
fn set_string( &self, key: Option<&CefString>, value: Option<&CefString>, ) -> c_int
See _cef_dictionary_value_t::set_string for more documentation.
Sourcefn set_binary(
&self,
key: Option<&CefString>,
value: Option<&mut BinaryValue>,
) -> c_int
fn set_binary( &self, key: Option<&CefString>, value: Option<&mut BinaryValue>, ) -> c_int
See _cef_dictionary_value_t::set_binary for more documentation.
Sourcefn set_dictionary(
&self,
key: Option<&CefString>,
value: Option<&mut DictionaryValue>,
) -> c_int
fn set_dictionary( &self, key: Option<&CefString>, value: Option<&mut DictionaryValue>, ) -> c_int
See _cef_dictionary_value_t::set_dictionary for more documentation.
Sourcefn set_list(
&self,
key: Option<&CefString>,
value: Option<&mut ListValue>,
) -> c_int
fn set_list( &self, key: Option<&CefString>, value: Option<&mut ListValue>, ) -> c_int
See _cef_dictionary_value_t::set_list for more documentation.
fn get_raw(&self) -> *mut _cef_dictionary_value_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.