#[repr(transparent)]pub struct CoreWebView2WebResourceContext(pub i32);
Tuple Fields§
§0: i32
Implementations§
Source§impl CoreWebView2WebResourceContext
impl CoreWebView2WebResourceContext
pub const All: Self
pub const Document: Self
pub const Stylesheet: Self
pub const Image: Self
pub const Media: Self
pub const Font: Self
pub const Script: Self
pub const XmlHttpRequest: Self
pub const Fetch: Self
pub const TextTrack: Self
pub const EventSource: Self
pub const Websocket: Self
pub const Manifest: Self
pub const SignedExchange: Self
pub const Ping: Self
pub const CspViolationReport: Self
pub const Other: Self
Trait Implementations§
Source§impl Abi for CoreWebView2WebResourceContext
impl Abi for CoreWebView2WebResourceContext
Source§type Abi = CoreWebView2WebResourceContext
type Abi = CoreWebView2WebResourceContext
The abi representation of the implementing type. Read more
Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for CoreWebView2WebResourceContext
impl Clone for CoreWebView2WebResourceContext
Source§fn clone(&self) -> CoreWebView2WebResourceContext
fn clone(&self) -> CoreWebView2WebResourceContext
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 Default for CoreWebView2WebResourceContext
impl Default for CoreWebView2WebResourceContext
Source§fn default() -> CoreWebView2WebResourceContext
fn default() -> CoreWebView2WebResourceContext
Returns the “default value” for a type. Read more
Source§impl From<i32> for CoreWebView2WebResourceContext
impl From<i32> for CoreWebView2WebResourceContext
Source§impl PartialEq for CoreWebView2WebResourceContext
impl PartialEq for CoreWebView2WebResourceContext
Source§fn eq(&self, other: &CoreWebView2WebResourceContext) -> bool
fn eq(&self, other: &CoreWebView2WebResourceContext) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CoreWebView2WebResourceContext
impl Eq for CoreWebView2WebResourceContext
impl StructuralPartialEq for CoreWebView2WebResourceContext
Auto Trait Implementations§
impl Freeze for CoreWebView2WebResourceContext
impl RefUnwindSafe for CoreWebView2WebResourceContext
impl Send for CoreWebView2WebResourceContext
impl Sync for CoreWebView2WebResourceContext
impl Unpin for CoreWebView2WebResourceContext
impl UnwindSafe for CoreWebView2WebResourceContext
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