pub struct V8Context(/* private fields */);Expand description
See _cef_v8_context_t for more documentation.
Trait Implementations§
Source§impl ConvertParam<*mut _cef_v8_context_t> for &V8Context
impl ConvertParam<*mut _cef_v8_context_t> for &V8Context
fn into_raw(self) -> *mut _cef_v8_context_t
Source§impl ConvertParam<*mut _cef_v8_context_t> for &mut V8Context
impl ConvertParam<*mut _cef_v8_context_t> for &mut V8Context
fn into_raw(self) -> *mut _cef_v8_context_t
Source§impl ConvertReturnValue<V8Context> for *mut _cef_v8_context_t
impl ConvertReturnValue<V8Context> for *mut _cef_v8_context_t
fn wrap_result(self) -> V8Context
Source§impl ImplV8Context for V8Context
impl ImplV8Context for V8Context
Source§fn task_runner(&self) -> Option<TaskRunner>
fn task_runner(&self) -> Option<TaskRunner>
See
_cef_v8_context_t::get_task_runner for more documentation.Source§fn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See
_cef_v8_context_t::is_valid for more documentation.Source§fn browser(&self) -> Option<Browser>
fn browser(&self) -> Option<Browser>
See
_cef_v8_context_t::get_browser for more documentation.Source§fn enter(&self) -> c_int
fn enter(&self) -> c_int
See
_cef_v8_context_t::enter for more documentation.Source§fn exit(&self) -> c_int
fn exit(&self) -> c_int
See
_cef_v8_context_t::exit for more documentation.Source§fn is_same(&self, that: Option<&mut V8Context>) -> c_int
fn is_same(&self, that: Option<&mut V8Context>) -> c_int
See
_cef_v8_context_t::is_same for more documentation.Source§fn eval(
&self,
code: Option<&CefString>,
script_url: Option<&CefString>,
start_line: c_int,
retval: Option<&mut Option<V8Value>>,
exception: Option<&mut Option<V8Exception>>,
) -> c_int
fn eval( &self, code: Option<&CefString>, script_url: Option<&CefString>, start_line: c_int, retval: Option<&mut Option<V8Value>>, exception: Option<&mut Option<V8Exception>>, ) -> c_int
See
_cef_v8_context_t::eval for more documentation.fn get_raw(&self) -> *mut _cef_v8_context_t
Source§impl Rc for V8Context
impl Rc for V8Context
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 V8Context
impl RefUnwindSafe for V8Context
impl Send for V8Context
impl Sync for V8Context
impl Unpin for V8Context
impl UnwindSafe for V8Context
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