Struct webkit2gtk_sys::WebKitWebContextClass
source · [−]#[repr(C)]pub struct WebKitWebContextClass {
pub parent: GObjectClass,
pub download_started: Option<unsafe extern "C" fn(_: *mut WebKitWebContext, _: *mut WebKitDownload)>,
pub initialize_web_extensions: Option<unsafe extern "C" fn(_: *mut WebKitWebContext)>,
pub initialize_notification_permissions: Option<unsafe extern "C" fn(_: *mut WebKitWebContext)>,
pub automation_started: Option<unsafe extern "C" fn(_: *mut WebKitWebContext, _: *mut WebKitAutomationSession)>,
pub user_message_received: Option<unsafe extern "C" fn(_: *mut WebKitWebContext, _: *mut WebKitUserMessage) -> gboolean>,
pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
}
Fields
parent: GObjectClass
download_started: Option<unsafe extern "C" fn(_: *mut WebKitWebContext, _: *mut WebKitDownload)>
initialize_web_extensions: Option<unsafe extern "C" fn(_: *mut WebKitWebContext)>
initialize_notification_permissions: Option<unsafe extern "C" fn(_: *mut WebKitWebContext)>
automation_started: Option<unsafe extern "C" fn(_: *mut WebKitWebContext, _: *mut WebKitAutomationSession)>
user_message_received: Option<unsafe extern "C" fn(_: *mut WebKitWebContext, _: *mut WebKitUserMessage) -> gboolean>
_webkit_reserved0: Option<unsafe extern "C" fn()>
_webkit_reserved1: Option<unsafe extern "C" fn()>
_webkit_reserved2: Option<unsafe extern "C" fn()>
Trait Implementations
sourceimpl Clone for WebKitWebContextClass
impl Clone for WebKitWebContextClass
sourcefn clone(&self) -> WebKitWebContextClass
fn clone(&self) -> WebKitWebContextClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WebKitWebContextClass
impl Debug for WebKitWebContextClass
impl Copy for WebKitWebContextClass
Auto Trait Implementations
impl RefUnwindSafe for WebKitWebContextClass
impl !Send for WebKitWebContextClass
impl !Sync for WebKitWebContextClass
impl Unpin for WebKitWebContextClass
impl UnwindSafe for WebKitWebContextClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more