pub struct CompletionCallback(/* private fields */);
Expand description
See _cef_completion_callback_t
for more documentation.
Implementations§
Source§impl CompletionCallback
impl CompletionCallback
pub fn new<T>(interface: T) -> Selfwhere
T: WrapCompletionCallback,
Trait Implementations§
Source§impl Clone for CompletionCallback
impl Clone for CompletionCallback
Source§fn clone(&self) -> CompletionCallback
fn clone(&self) -> CompletionCallback
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_completion_callback_t> for &CompletionCallback
impl ConvertParam<*mut _cef_completion_callback_t> for &CompletionCallback
fn into_raw(self) -> *mut _cef_completion_callback_t
Source§impl ConvertParam<*mut _cef_completion_callback_t> for &mut CompletionCallback
impl ConvertParam<*mut _cef_completion_callback_t> for &mut CompletionCallback
fn into_raw(self) -> *mut _cef_completion_callback_t
Source§impl ConvertReturnValue<CompletionCallback> for *mut _cef_completion_callback_t
impl ConvertReturnValue<CompletionCallback> for *mut _cef_completion_callback_t
fn wrap_result(self) -> CompletionCallback
Source§impl Default for CompletionCallback
impl Default for CompletionCallback
Source§impl From<CompletionCallback> for *mut _cef_completion_callback_t
impl From<CompletionCallback> for *mut _cef_completion_callback_t
Source§fn from(value: CompletionCallback) -> Self
fn from(value: CompletionCallback) -> Self
Converts to this type from the input type.
Source§impl ImplCompletionCallback for CompletionCallback
impl ImplCompletionCallback for CompletionCallback
Source§fn on_complete(&self)
fn on_complete(&self)
See
_cef_completion_callback_t::on_complete
for more documentation.fn get_raw(&self) -> *mut _cef_completion_callback_t
fn init_methods(object: &mut _cef_completion_callback_t)
Source§impl Rc for CompletionCallback
impl Rc for CompletionCallback
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 CompletionCallback
impl RefUnwindSafe for CompletionCallback
impl Send for CompletionCallback
impl Sync for CompletionCallback
impl Unpin for CompletionCallback
impl UnwindSafe for CompletionCallback
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