pub struct Value(/* private fields */);Expand description
See _cef_value_t for more documentation.
Trait Implementations§
Source§impl ConvertParam<*mut _cef_value_t> for &Value
impl ConvertParam<*mut _cef_value_t> for &Value
fn into_raw(self) -> *mut _cef_value_t
Source§impl ConvertParam<*mut _cef_value_t> for &mut Value
impl ConvertParam<*mut _cef_value_t> for &mut Value
fn into_raw(self) -> *mut _cef_value_t
Source§impl ConvertReturnValue<Value> for *mut _cef_value_t
impl ConvertReturnValue<Value> for *mut _cef_value_t
fn wrap_result(self) -> Value
Source§impl ImplValue for Value
impl ImplValue for Value
Source§fn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See
_cef_value_t::is_valid for more documentation.Source§fn is_owned(&self) -> c_int
fn is_owned(&self) -> c_int
See
_cef_value_t::is_owned for more documentation.Source§fn is_read_only(&self) -> c_int
fn is_read_only(&self) -> c_int
See
_cef_value_t::is_read_only for more documentation.Source§fn 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.Source§fn 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.Source§fn get_type(&self) -> ValueType
fn get_type(&self) -> ValueType
See
_cef_value_t::get_type for more documentation.Source§fn bool(&self) -> c_int
fn bool(&self) -> c_int
See
_cef_value_t::get_bool for more documentation.Source§fn int(&self) -> c_int
fn int(&self) -> c_int
See
_cef_value_t::get_int for more documentation.Source§fn double(&self) -> f64
fn double(&self) -> f64
See
_cef_value_t::get_double for more documentation.Source§fn string(&self) -> CefStringUserfree
fn string(&self) -> CefStringUserfree
See
_cef_value_t::get_string for more documentation.Source§fn binary(&self) -> Option<BinaryValue>
fn binary(&self) -> Option<BinaryValue>
See
_cef_value_t::get_binary for more documentation.Source§fn dictionary(&self) -> Option<DictionaryValue>
fn dictionary(&self) -> Option<DictionaryValue>
See
_cef_value_t::get_dictionary for more documentation.Source§fn set_null(&self) -> c_int
fn set_null(&self) -> c_int
See
_cef_value_t::set_null for more documentation.Source§fn set_double(&self, value: f64) -> c_int
fn set_double(&self, value: f64) -> c_int
See
_cef_value_t::set_double for more documentation.Source§fn 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.Source§fn 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.Source§fn 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.Source§fn 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
Source§impl Rc for Value
impl Rc for Value
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more