#[repr(C)]
pub struct WebKitWebViewClass {
Show 29 fields pub parent: WebKitWebViewBaseClass, pub load_changed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitLoadEvent)>, pub load_failed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitLoadEvent, _: *const c_char, _: *mut GError) -> gboolean>, pub create: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitNavigationAction) -> *mut GtkWidget>, pub ready_to_show: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>, pub run_as_modal: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>, pub close: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>, pub script_dialog: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitScriptDialog) -> gboolean>, pub decide_policy: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPolicyDecision, _: WebKitPolicyDecisionType) -> gboolean>, pub permission_request: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPermissionRequest) -> gboolean>, pub mouse_target_changed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitHitTestResult, _: c_uint)>, pub print: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPrintOperation) -> gboolean>, pub resource_load_started: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitWebResource, _: *mut WebKitURIRequest)>, pub enter_fullscreen: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>, pub leave_fullscreen: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>, pub run_file_chooser: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitFileChooserRequest) -> gboolean>, pub context_menu: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitContextMenu, _: *mut GdkEvent, _: *mut WebKitHitTestResult) -> gboolean>, pub context_menu_dismissed: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>, pub submit_form: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitFormSubmissionRequest)>, pub insecure_content_detected: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitInsecureContentEvent)>, pub web_process_crashed: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>, pub authenticate: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitAuthenticationRequest) -> gboolean>, pub load_failed_with_tls_errors: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *const c_char, _: *mut GTlsCertificate, _: GTlsCertificateFlags) -> gboolean>, pub show_notification: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitNotification) -> gboolean>, pub run_color_chooser: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitColorChooserRequest) -> gboolean>, pub show_option_menu: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitOptionMenu, _: *mut GdkEvent, _: *mut GdkRectangle) -> gboolean>, pub web_process_terminated: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitWebProcessTerminationReason)>, pub user_message_received: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitUserMessage) -> gboolean>, pub query_permission_state: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPermissionStateQuery) -> gboolean>,
}

Fields§

§parent: WebKitWebViewBaseClass§load_changed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitLoadEvent)>§load_failed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitLoadEvent, _: *const c_char, _: *mut GError) -> gboolean>§create: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitNavigationAction) -> *mut GtkWidget>§ready_to_show: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>§run_as_modal: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>§close: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>§script_dialog: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitScriptDialog) -> gboolean>§decide_policy: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPolicyDecision, _: WebKitPolicyDecisionType) -> gboolean>§permission_request: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPermissionRequest) -> gboolean>§mouse_target_changed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitHitTestResult, _: c_uint)>§print: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPrintOperation) -> gboolean>§resource_load_started: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitWebResource, _: *mut WebKitURIRequest)>§enter_fullscreen: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>§leave_fullscreen: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>§run_file_chooser: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitFileChooserRequest) -> gboolean>§context_menu: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitContextMenu, _: *mut GdkEvent, _: *mut WebKitHitTestResult) -> gboolean>§context_menu_dismissed: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>§submit_form: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitFormSubmissionRequest)>§insecure_content_detected: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitInsecureContentEvent)>§web_process_crashed: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>§authenticate: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitAuthenticationRequest) -> gboolean>§load_failed_with_tls_errors: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *const c_char, _: *mut GTlsCertificate, _: GTlsCertificateFlags) -> gboolean>§show_notification: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitNotification) -> gboolean>§run_color_chooser: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitColorChooserRequest) -> gboolean>§show_option_menu: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitOptionMenu, _: *mut GdkEvent, _: *mut GdkRectangle) -> gboolean>§web_process_terminated: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitWebProcessTerminationReason)>§user_message_received: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitUserMessage) -> gboolean>§query_permission_state: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPermissionStateQuery) -> gboolean>

Trait Implementations§

source§

impl Clone for WebKitWebViewClass

source§

fn clone(&self) -> WebKitWebViewClass

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WebKitWebViewClass

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for WebKitWebViewClass

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.