pub trait ImplValue:
Clone
+ Sized
+ Rc {
Show 23 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 Value>) -> c_int;
fn is_equal(&self, that: Option<&mut Value>) -> c_int;
fn copy(&self) -> Option<Value>;
fn get_type(&self) -> ValueType;
fn bool(&self) -> c_int;
fn int(&self) -> c_int;
fn double(&self) -> f64;
fn string(&self) -> CefStringUserfree;
fn binary(&self) -> Option<BinaryValue>;
fn dictionary(&self) -> Option<DictionaryValue>;
fn list(&self) -> Option<ListValue>;
fn set_null(&self) -> c_int;
fn set_bool(&self, value: c_int) -> c_int;
fn set_int(&self, value: c_int) -> c_int;
fn set_double(&self, value: f64) -> c_int;
fn set_string(&self, value: Option<&CefString>) -> c_int;
fn set_binary(&self, value: Option<&mut BinaryValue>) -> c_int;
fn set_dictionary(&self, value: Option<&mut DictionaryValue>) -> c_int;
fn set_list(&self, value: Option<&mut ListValue>) -> c_int;
fn get_raw(&self) -> *mut _cef_value_t;
}Required Methods§
Sourcefn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See _cef_value_t::is_valid for more documentation.
Sourcefn is_owned(&self) -> c_int
fn is_owned(&self) -> c_int
See _cef_value_t::is_owned for more documentation.
Sourcefn is_read_only(&self) -> c_int
fn is_read_only(&self) -> c_int
See _cef_value_t::is_read_only for more documentation.
Sourcefn is_same(&self, that: Option<&mut Value>) -> c_int
fn is_same(&self, that: Option<&mut Value>) -> c_int
See _cef_value_t::is_same for more documentation.
Sourcefn is_equal(&self, that: Option<&mut Value>) -> c_int
fn is_equal(&self, that: Option<&mut Value>) -> c_int
See _cef_value_t::is_equal for more documentation.
Sourcefn copy(&self) -> Option<Value>
fn copy(&self) -> Option<Value>
See _cef_value_t::copy for more documentation.
Sourcefn get_type(&self) -> ValueType
fn get_type(&self) -> ValueType
See _cef_value_t::get_type for more documentation.
Sourcefn bool(&self) -> c_int
fn bool(&self) -> c_int
See _cef_value_t::get_bool for more documentation.
Sourcefn int(&self) -> c_int
fn int(&self) -> c_int
See _cef_value_t::get_int for more documentation.
Sourcefn double(&self) -> f64
fn double(&self) -> f64
See _cef_value_t::get_double for more documentation.
Sourcefn string(&self) -> CefStringUserfree
fn string(&self) -> CefStringUserfree
See _cef_value_t::get_string for more documentation.
Sourcefn binary(&self) -> Option<BinaryValue>
fn binary(&self) -> Option<BinaryValue>
See _cef_value_t::get_binary for more documentation.
Sourcefn dictionary(&self) -> Option<DictionaryValue>
fn dictionary(&self) -> Option<DictionaryValue>
See _cef_value_t::get_dictionary for more documentation.
Sourcefn list(&self) -> Option<ListValue>
fn list(&self) -> Option<ListValue>
See _cef_value_t::get_list for more documentation.
Sourcefn set_null(&self) -> c_int
fn set_null(&self) -> c_int
See _cef_value_t::set_null for more documentation.
Sourcefn set_bool(&self, value: c_int) -> c_int
fn set_bool(&self, value: c_int) -> c_int
See _cef_value_t::set_bool for more documentation.
Sourcefn set_int(&self, value: c_int) -> c_int
fn set_int(&self, value: c_int) -> c_int
See _cef_value_t::set_int for more documentation.
Sourcefn set_double(&self, value: f64) -> c_int
fn set_double(&self, value: f64) -> c_int
See _cef_value_t::set_double for more documentation.
Sourcefn set_string(&self, value: Option<&CefString>) -> c_int
fn set_string(&self, value: Option<&CefString>) -> c_int
See _cef_value_t::set_string for more documentation.
Sourcefn set_binary(&self, value: Option<&mut BinaryValue>) -> c_int
fn set_binary(&self, value: Option<&mut BinaryValue>) -> c_int
See _cef_value_t::set_binary for more documentation.
Sourcefn set_dictionary(&self, value: Option<&mut DictionaryValue>) -> c_int
fn set_dictionary(&self, value: Option<&mut DictionaryValue>) -> c_int
See _cef_value_t::set_dictionary for more documentation.
Sourcefn set_list(&self, value: Option<&mut ListValue>) -> c_int
fn set_list(&self, value: Option<&mut ListValue>) -> c_int
See _cef_value_t::set_list for more documentation.
fn get_raw(&self) -> *mut _cef_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.