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 as_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 as_raw(self) -> *mut _cef_task_t
Source§impl ConvertReturnValue<Task> for *mut _cef_task_t
impl ConvertReturnValue<Task> for *mut _cef_task_t
fn as_wrapper(self) -> Task
Source§impl ImplTask for Task
impl ImplTask for Task
fn execute(&self)
fn get_raw(&self) -> *mut _cef_task_t
fn init_methods(object: &mut _cef_task_t)
Source§impl Into<*mut _cef_task_t> for Task
impl Into<*mut _cef_task_t> for Task
Source§fn into(self) -> *mut _cef_task_t
fn into(self) -> *mut _cef_task_t
Converts this type into the (usually inferred) input type.
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.Source§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