#[repr(C)]pub struct ArkWeb_ProxyMethodWithResult {
pub methodName: *const c_char,
pub callback: ArkWeb_OnJavaScriptProxyCallbackWithResult,
pub userData: *mut c_void,
}Available on crate features
api-11 and api-12 and api-18 only.Expand description
Defines the JavaScript proxy method with a return value.
Available since API-level: 18
Fields§
§methodName: *const c_charThe method of the application side JavaScript object participating in the registration.
callback: ArkWeb_OnJavaScriptProxyCallbackWithResultThe callback function with a return value registered by developer is called back when HTML side uses.
userData: *mut c_voidThe user data to set.
Trait Implementations§
Source§impl Clone for ArkWeb_ProxyMethodWithResult
impl Clone for ArkWeb_ProxyMethodWithResult
Source§fn clone(&self) -> ArkWeb_ProxyMethodWithResult
fn clone(&self) -> ArkWeb_ProxyMethodWithResult
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 Debug for ArkWeb_ProxyMethodWithResult
impl Debug for ArkWeb_ProxyMethodWithResult
impl Copy for ArkWeb_ProxyMethodWithResult
Auto Trait Implementations§
impl Freeze for ArkWeb_ProxyMethodWithResult
impl RefUnwindSafe for ArkWeb_ProxyMethodWithResult
impl !Send for ArkWeb_ProxyMethodWithResult
impl !Sync for ArkWeb_ProxyMethodWithResult
impl Unpin for ArkWeb_ProxyMethodWithResult
impl UnsafeUnpin for ArkWeb_ProxyMethodWithResult
impl UnwindSafe for ArkWeb_ProxyMethodWithResult
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