#[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

source

pub const fn new<Identity, const OFFSET: isize>() -> ICoreWebView2Settings_Vtbl
where Identity: ICoreWebView2Settings_Impl + IUnknownImpl,

source

pub fn matches(iid: &GUID) -> bool

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, 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.