pub struct TaskRunner(/* private fields */);Expand description
See _cef_task_runner_t for more documentation.
Trait Implementations§
Source§impl Clone for TaskRunner
impl Clone for TaskRunner
Source§fn clone(&self) -> TaskRunner
fn clone(&self) -> TaskRunner
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_task_runner_t> for &TaskRunner
impl ConvertParam<*mut _cef_task_runner_t> for &TaskRunner
fn into_raw(self) -> *mut _cef_task_runner_t
Source§impl ConvertParam<*mut _cef_task_runner_t> for &mut TaskRunner
impl ConvertParam<*mut _cef_task_runner_t> for &mut TaskRunner
fn into_raw(self) -> *mut _cef_task_runner_t
Source§impl ConvertReturnValue<TaskRunner> for *mut _cef_task_runner_t
impl ConvertReturnValue<TaskRunner> for *mut _cef_task_runner_t
fn wrap_result(self) -> TaskRunner
Source§impl From<TaskRunner> for *mut _cef_task_runner_t
impl From<TaskRunner> for *mut _cef_task_runner_t
Source§fn from(value: TaskRunner) -> Self
fn from(value: TaskRunner) -> Self
Converts to this type from the input type.
Source§impl ImplTaskRunner for TaskRunner
impl ImplTaskRunner for TaskRunner
Source§fn is_same(&self, that: Option<&mut TaskRunner>) -> c_int
fn is_same(&self, that: Option<&mut TaskRunner>) -> c_int
See
_cef_task_runner_t::is_same for more documentation.Source§fn belongs_to_current_thread(&self) -> c_int
fn belongs_to_current_thread(&self) -> c_int
See
_cef_task_runner_t::belongs_to_current_thread for more documentation.Source§fn belongs_to_thread(&self, thread_id: ThreadId) -> c_int
fn belongs_to_thread(&self, thread_id: ThreadId) -> c_int
See
_cef_task_runner_t::belongs_to_thread for more documentation.Source§fn post_task(&self, task: Option<&mut Task>) -> c_int
fn post_task(&self, task: Option<&mut Task>) -> c_int
See
_cef_task_runner_t::post_task for more documentation.Source§fn post_delayed_task(&self, task: Option<&mut Task>, delay_ms: i64) -> c_int
fn post_delayed_task(&self, task: Option<&mut Task>, delay_ms: i64) -> c_int
See
_cef_task_runner_t::post_delayed_task for more documentation.fn get_raw(&self) -> *mut _cef_task_runner_t
Source§impl Rc for TaskRunner
impl Rc for TaskRunner
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 TaskRunner
impl RefUnwindSafe for TaskRunner
impl Send for TaskRunner
impl Sync for TaskRunner
impl Unpin for TaskRunner
impl UnwindSafe for TaskRunner
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