Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Settings_Vtbl
source · #[repr(C)]pub struct ICoreWebView2Settings_Vtbl {Show 19 fields
pub base__: IUnknown_Vtbl,
pub IsScriptEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetIsScriptEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub IsWebMessageEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetIsWebMessageEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub AreDefaultScriptDialogsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetAreDefaultScriptDialogsEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub IsStatusBarEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetIsStatusBarEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub AreDevToolsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetAreDevToolsEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub AreDefaultContextMenusEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetAreDefaultContextMenusEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub AreHostObjectsAllowed: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetAreHostObjectsAllowed: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub IsZoomControlEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetIsZoomControlEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub IsBuiltInErrorPageEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetIsBuiltInErrorPageEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§IsScriptEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetIsScriptEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§IsWebMessageEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetIsWebMessageEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§AreDefaultScriptDialogsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetAreDefaultScriptDialogsEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§IsStatusBarEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetIsStatusBarEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§AreDevToolsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetAreDevToolsEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§AreDefaultContextMenusEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetAreDefaultContextMenusEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§AreHostObjectsAllowed: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetAreHostObjectsAllowed: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§IsZoomControlEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetIsZoomControlEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§IsBuiltInErrorPageEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetIsBuiltInErrorPageEnabled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
Implementations§
source§impl ICoreWebView2Settings_Vtbl
impl ICoreWebView2Settings_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ICoreWebView2Settings_Vtblwhere
Identity: IUnknownImpl + ICoreWebView2Settings_Impl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ICoreWebView2Settings_Vtbl
impl RefUnwindSafe for ICoreWebView2Settings_Vtbl
impl Send for ICoreWebView2Settings_Vtbl
impl Sync for ICoreWebView2Settings_Vtbl
impl Unpin for ICoreWebView2Settings_Vtbl
impl UnwindSafe for ICoreWebView2Settings_Vtbl
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