Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2WebResourceRequest
source · [−]#[repr(transparent)]pub struct ICoreWebView2WebResourceRequest(_);
Implementations
sourceimpl ICoreWebView2WebResourceRequest
impl ICoreWebView2WebResourceRequest
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>
pub unsafe fn SetUri<P0>(&self, uri: P0) -> Result<(), Error> where
P0: Into<PCWSTR>,
pub unsafe fn Method(&self, method: *mut PWSTR) -> Result<(), Error>
pub unsafe fn SetMethod<P0>(&self, method: P0) -> Result<(), Error> where
P0: Into<PCWSTR>,
pub unsafe fn Content(&self) -> Result<IStream, Error>
pub unsafe fn SetContent<'a, P0>(&self, content: P0) -> Result<(), Error> where
P0: Into<InParam<'a, IStream>>,
pub unsafe fn Headers(&self) -> Result<ICoreWebView2HttpRequestHeaders, Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2WebResourceRequest
impl Clone for ICoreWebView2WebResourceRequest
sourcefn clone(&self) -> ICoreWebView2WebResourceRequest
fn clone(&self) -> ICoreWebView2WebResourceRequest
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 Interface for ICoreWebView2WebResourceRequest
impl Interface for ICoreWebView2WebResourceRequest
sourceconst IID: GUID = ::windows::core::GUID::from_u128(200741271650990751986833358912706487973)
const IID: GUID = ::windows::core::GUID::from_u128(200741271650990751986833358912706487973)
A unique identifier representing this interface.
sourceimpl PartialEq<ICoreWebView2WebResourceRequest> for ICoreWebView2WebResourceRequest
impl PartialEq<ICoreWebView2WebResourceRequest> for ICoreWebView2WebResourceRequest
sourcefn eq(&self, other: &ICoreWebView2WebResourceRequest) -> bool
fn eq(&self, other: &ICoreWebView2WebResourceRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ICoreWebView2WebResourceRequest
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2WebResourceRequest
impl !Send for ICoreWebView2WebResourceRequest
impl !Sync for ICoreWebView2WebResourceRequest
impl Unpin for ICoreWebView2WebResourceRequest
impl UnwindSafe for ICoreWebView2WebResourceRequest
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