pub struct Task(/* private fields */);Expand description
See _cef_task_t for more documentation.
Implementations§
Trait Implementations§
Source§impl ConvertParam<*mut _cef_task_t> for &Task
impl ConvertParam<*mut _cef_task_t> for &Task
fn into_raw(self) -> *mut _cef_task_t
Source§impl ConvertParam<*mut _cef_task_t> for &mut Task
impl ConvertParam<*mut _cef_task_t> for &mut Task
fn into_raw(self) -> *mut _cef_task_t
Source§impl ConvertReturnValue<Task> for *mut _cef_task_t
impl ConvertReturnValue<Task> for *mut _cef_task_t
fn wrap_result(self) -> Task
Source§impl ImplTask for Task
impl ImplTask for Task
Source§fn execute(&self)
fn execute(&self)
See
_cef_task_t::execute for more documentation.fn get_raw(&self) -> *mut _cef_task_t
fn init_methods(object: &mut _cef_task_t)
Source§impl Rc for Task
impl Rc for Task
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 Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnwindSafe for Task
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