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