#[repr(transparent)]pub struct CoreWebView2KeyEventKind(pub i32);
Tuple Fields§
§0: i32
Implementations§
Source§impl CoreWebView2KeyEventKind
impl CoreWebView2KeyEventKind
pub const KeyDown: Self
pub const KeyUp: Self
pub const SystemKeyDown: Self
pub const SystemKeyUp: Self
Trait Implementations§
Source§impl Abi for CoreWebView2KeyEventKind
impl Abi for CoreWebView2KeyEventKind
Source§type Abi = CoreWebView2KeyEventKind
type Abi = CoreWebView2KeyEventKind
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 CoreWebView2KeyEventKind
impl Clone for CoreWebView2KeyEventKind
Source§fn clone(&self) -> CoreWebView2KeyEventKind
fn clone(&self) -> CoreWebView2KeyEventKind
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 CoreWebView2KeyEventKind
impl Debug for CoreWebView2KeyEventKind
Source§impl Default for CoreWebView2KeyEventKind
impl Default for CoreWebView2KeyEventKind
Source§fn default() -> CoreWebView2KeyEventKind
fn default() -> CoreWebView2KeyEventKind
Returns the “default value” for a type. Read more
Source§impl From<i32> for CoreWebView2KeyEventKind
impl From<i32> for CoreWebView2KeyEventKind
Source§impl PartialEq for CoreWebView2KeyEventKind
impl PartialEq for CoreWebView2KeyEventKind
impl Copy for CoreWebView2KeyEventKind
impl Eq for CoreWebView2KeyEventKind
impl StructuralPartialEq for CoreWebView2KeyEventKind
Auto Trait Implementations§
impl Freeze for CoreWebView2KeyEventKind
impl RefUnwindSafe for CoreWebView2KeyEventKind
impl Send for CoreWebView2KeyEventKind
impl Sync for CoreWebView2KeyEventKind
impl Unpin for CoreWebView2KeyEventKind
impl UnwindSafe for CoreWebView2KeyEventKind
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