pub struct V8Accessor(/* private fields */);Expand description
See _cef_v8_accessor_t for more documentation.
Implementations§
Source§impl V8Accessor
impl V8Accessor
pub fn new<T>(interface: T) -> Selfwhere
T: WrapV8Accessor,
Trait Implementations§
Source§impl Clone for V8Accessor
impl Clone for V8Accessor
Source§fn clone(&self) -> V8Accessor
fn clone(&self) -> V8Accessor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConvertParam<*mut _cef_v8_accessor_t> for &V8Accessor
impl ConvertParam<*mut _cef_v8_accessor_t> for &V8Accessor
fn into_raw(self) -> *mut _cef_v8_accessor_t
Source§impl ConvertParam<*mut _cef_v8_accessor_t> for &mut V8Accessor
impl ConvertParam<*mut _cef_v8_accessor_t> for &mut V8Accessor
fn into_raw(self) -> *mut _cef_v8_accessor_t
Source§impl ConvertReturnValue<V8Accessor> for *mut _cef_v8_accessor_t
impl ConvertReturnValue<V8Accessor> for *mut _cef_v8_accessor_t
fn wrap_result(self) -> V8Accessor
Source§impl From<V8Accessor> for *mut _cef_v8_accessor_t
impl From<V8Accessor> for *mut _cef_v8_accessor_t
Source§fn from(value: V8Accessor) -> Self
fn from(value: V8Accessor) -> Self
Converts to this type from the input type.
Source§impl ImplV8Accessor for V8Accessor
impl ImplV8Accessor for V8Accessor
Source§fn get(
&self,
name: Option<&CefString>,
object: Option<&mut V8Value>,
retval: Option<&mut Option<V8Value>>,
exception: Option<&mut CefString>,
) -> c_int
fn get( &self, name: Option<&CefString>, object: Option<&mut V8Value>, retval: Option<&mut Option<V8Value>>, exception: Option<&mut CefString>, ) -> c_int
See
_cef_v8_accessor_t::get for more documentation.Source§fn set(
&self,
name: Option<&CefString>,
object: Option<&mut V8Value>,
value: Option<&mut V8Value>,
exception: Option<&mut CefString>,
) -> c_int
fn set( &self, name: Option<&CefString>, object: Option<&mut V8Value>, value: Option<&mut V8Value>, exception: Option<&mut CefString>, ) -> c_int
See
_cef_v8_accessor_t::set for more documentation.fn get_raw(&self) -> *mut _cef_v8_accessor_t
fn init_methods(object: &mut _cef_v8_accessor_t)
Source§impl Rc for V8Accessor
impl Rc for V8Accessor
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 V8Accessor
impl RefUnwindSafe for V8Accessor
impl Send for V8Accessor
impl Sync for V8Accessor
impl Unpin for V8Accessor
impl UnwindSafe for V8Accessor
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