pub struct BarcodeScannerPreviewActivatedEventArgs(/* private fields */);
Implementations§
§impl BarcodeScannerPreviewActivatedEventArgs
impl BarcodeScannerPreviewActivatedEventArgs
pub fn Kind(&self) -> Result<ActivationKind>
pub fn PreviousExecutionState(&self) -> Result<ApplicationExecutionState>
pub fn SplashScreen(&self) -> Result<SplashScreen>
pub fn User(&self) -> Result<User>
pub fn ConnectionId(&self) -> Result<HSTRING>
Trait Implementations§
§impl Clone for BarcodeScannerPreviewActivatedEventArgs
impl Clone for BarcodeScannerPreviewActivatedEventArgs
§fn clone(&self) -> BarcodeScannerPreviewActivatedEventArgs
fn clone(&self) -> BarcodeScannerPreviewActivatedEventArgs
Returns a copy 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 more§impl From<&BarcodeScannerPreviewActivatedEventArgs> for &IInspectable
impl From<&BarcodeScannerPreviewActivatedEventArgs> for &IInspectable
§fn from(value: &BarcodeScannerPreviewActivatedEventArgs) -> Self
fn from(value: &BarcodeScannerPreviewActivatedEventArgs) -> Self
Converts to this type from the input type.
§impl From<&BarcodeScannerPreviewActivatedEventArgs> for &IUnknown
impl From<&BarcodeScannerPreviewActivatedEventArgs> for &IUnknown
§fn from(value: &BarcodeScannerPreviewActivatedEventArgs) -> Self
fn from(value: &BarcodeScannerPreviewActivatedEventArgs) -> Self
Converts to this type from the input type.
§impl From<BarcodeScannerPreviewActivatedEventArgs> for IInspectable
impl From<BarcodeScannerPreviewActivatedEventArgs> for IInspectable
§fn from(value: BarcodeScannerPreviewActivatedEventArgs) -> Self
fn from(value: BarcodeScannerPreviewActivatedEventArgs) -> Self
Converts to this type from the input type.
§impl From<BarcodeScannerPreviewActivatedEventArgs> for IUnknown
impl From<BarcodeScannerPreviewActivatedEventArgs> for IUnknown
§fn from(value: BarcodeScannerPreviewActivatedEventArgs) -> Self
fn from(value: BarcodeScannerPreviewActivatedEventArgs) -> Self
Converts to this type from the input type.
§impl Interface for BarcodeScannerPreviewActivatedEventArgs
impl Interface for BarcodeScannerPreviewActivatedEventArgs
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for BarcodeScannerPreviewActivatedEventArgs
impl PartialEq for BarcodeScannerPreviewActivatedEventArgs
§fn eq(&self, other: &BarcodeScannerPreviewActivatedEventArgs) -> bool
fn eq(&self, other: &BarcodeScannerPreviewActivatedEventArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BarcodeScannerPreviewActivatedEventArgs
impl Send for BarcodeScannerPreviewActivatedEventArgs
impl StructuralPartialEq for BarcodeScannerPreviewActivatedEventArgs
impl Sync for BarcodeScannerPreviewActivatedEventArgs
Auto Trait Implementations§
impl RefUnwindSafe for BarcodeScannerPreviewActivatedEventArgs
impl Unpin for BarcodeScannerPreviewActivatedEventArgs
impl UnwindSafe for BarcodeScannerPreviewActivatedEventArgs
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