pub struct CoreWebView2EnvironmentOptions(/* private fields */);
Implementations§
Source§impl CoreWebView2EnvironmentOptions
impl CoreWebView2EnvironmentOptions
pub fn new() -> Result<Self>
pub fn AdditionalBrowserArguments(&self) -> Result<HString>
pub fn SetAdditionalBrowserArguments<'a, T0__: IntoParam<'a, HString>>( &self, value: T0__, ) -> Result<()>
pub fn Language(&self) -> Result<HString>
pub fn SetLanguage<'a, T0__: IntoParam<'a, HString>>( &self, value: T0__, ) -> Result<()>
pub fn TargetCompatibleBrowserVersion(&self) -> Result<HString>
pub fn SetTargetCompatibleBrowserVersion<'a, T0__: IntoParam<'a, HString>>( &self, value: T0__, ) -> Result<()>
pub fn AllowSingleSignOnUsingOSPrimaryAccount(&self) -> Result<bool>
pub fn SetAllowSingleSignOnUsingOSPrimaryAccount( &self, value: bool, ) -> Result<()>
Trait Implementations§
Source§impl Clone for CoreWebView2EnvironmentOptions
impl Clone for CoreWebView2EnvironmentOptions
Source§fn clone(&self) -> CoreWebView2EnvironmentOptions
fn clone(&self) -> CoreWebView2EnvironmentOptions
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 From<&CoreWebView2EnvironmentOptions> for Object
impl From<&CoreWebView2EnvironmentOptions> for Object
Source§fn from(value: &CoreWebView2EnvironmentOptions) -> Self
fn from(value: &CoreWebView2EnvironmentOptions) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2EnvironmentOptions> for Object
impl From<CoreWebView2EnvironmentOptions> for Object
Source§fn from(value: CoreWebView2EnvironmentOptions) -> Self
fn from(value: CoreWebView2EnvironmentOptions) -> Self
Converts to this type from the input type.
Source§impl Interface for CoreWebView2EnvironmentOptions
impl Interface for CoreWebView2EnvironmentOptions
const IID: Guid
type Vtable = ICoreWebView2EnvironmentOptions_abi
Source§impl<'a> IntoParam<'a, Object> for &'a CoreWebView2EnvironmentOptions
impl<'a> IntoParam<'a, Object> for &'a CoreWebView2EnvironmentOptions
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for CoreWebView2EnvironmentOptions
impl<'a> IntoParam<'a, Object> for CoreWebView2EnvironmentOptions
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for CoreWebView2EnvironmentOptions
impl PartialEq for CoreWebView2EnvironmentOptions
Source§fn eq(&self, other: &CoreWebView2EnvironmentOptions) -> bool
fn eq(&self, other: &CoreWebView2EnvironmentOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CoreWebView2EnvironmentOptions
impl Send for CoreWebView2EnvironmentOptions
impl StructuralPartialEq for CoreWebView2EnvironmentOptions
impl Sync for CoreWebView2EnvironmentOptions
Auto Trait Implementations§
impl Freeze for CoreWebView2EnvironmentOptions
impl RefUnwindSafe for CoreWebView2EnvironmentOptions
impl Unpin for CoreWebView2EnvironmentOptions
impl UnwindSafe for CoreWebView2EnvironmentOptions
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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