pub struct Controller2 { /* private fields */ }
Expand description
Wrapper for ICoreWebView2Controller2
.
Implementations§
Source§impl Controller2
impl Controller2
pub fn into_inner(self) -> ComRc<dyn ICoreWebView2Controller2>
pub fn as_inner(&self) -> &ComRc<dyn ICoreWebView2Controller2>
Source§impl Controller2
impl Controller2
pub fn get_default_background_color(&self) -> Result<Color>
pub fn put_default_background_color(&self, color: Color) -> Result<()>
Trait Implementations§
Source§impl Clone for Controller2
impl Clone for Controller2
Source§fn clone(&self) -> Controller2
fn clone(&self) -> Controller2
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 Debug for Controller2
impl Debug for Controller2
Source§impl From<ComRc<dyn ICoreWebView2Controller2>> for Controller2
impl From<ComRc<dyn ICoreWebView2Controller2>> for Controller2
Source§fn from(inner: ComRc<dyn ICoreWebView2Controller2>) -> Self
fn from(inner: ComRc<dyn ICoreWebView2Controller2>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Controller2
impl !RefUnwindSafe for Controller2
impl !Send for Controller2
impl !Sync for Controller2
impl !Unpin for Controller2
impl !UnwindSafe for Controller2
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