pub struct IActivatedEventArgs(/* private fields */);

Implementations§

§

impl IActivatedEventArgs

pub fn Kind(&self) -> Result<ActivationKind>

pub fn PreviousExecutionState(&self) -> Result<ApplicationExecutionState>

pub fn SplashScreen(&self) -> Result<SplashScreen>

Methods from Deref<Target = IInspectable>§

pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>

Returns the canonical type name for the underlying object.

pub fn GetTrustLevel(&self) -> Result<i32, Error>

Gets the trust level of the current object.

Trait Implementations§

§

impl CanInto<IActivatedEventArgs> for AppointmentsProviderAddAppointmentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for AppointmentsProviderRemoveAppointmentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for AppointmentsProviderReplaceAppointmentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for AppointmentsProviderShowTimeFrameActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for BarcodeScannerPreviewActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for CachedFileUpdaterActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for CameraSettingsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for CommandLineActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ContactCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ContactMapActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ContactMessageActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ContactPanelActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ContactPickerActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ContactPostActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ContactVideoCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for DeviceActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for DevicePairingActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for DialReceiverActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for FileActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for FileOpenPickerActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for FileOpenPickerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for FileSavePickerActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for FileSavePickerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for FolderPickerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for GameUIProviderActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IActivatedEventArgsWithUser

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IApplicationViewActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IAppointmentsProviderActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IAppointmentsProviderAddAppointmentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IAppointmentsProviderRemoveAppointmentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IAppointmentsProviderReplaceAppointmentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IAppointmentsProviderShowTimeFrameActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IBarcodeScannerPreviewActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ICachedFileUpdaterActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ICameraSettingsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ICommandLineActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IContactActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IContactCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IContactMapActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IContactMessageActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IContactPickerActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IContactPostActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IContactVideoCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IContactsProviderActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IContinuationActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IDeviceActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IDevicePairingActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IDialReceiverActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IFileActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IFileActivatedEventArgsWithCallerPackageFamilyName

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IFileActivatedEventArgsWithNeighboringFiles

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IFileOpenPickerActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IFileOpenPickerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IFileSavePickerActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IFileSavePickerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IFolderPickerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ILaunchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ILaunchActivatedEventArgs2

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ILockScreenActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ILockScreenCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IPhoneCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IPickerReturnedActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IPrelaunchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IPrint3DWorkflowActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IPrintTaskSettingsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IProtocolActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IProtocolForResultsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IRestrictedLaunchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ISearchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IShareTargetActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IStartupTaskActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IToastNotificationActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IUserDataAccountProviderActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IViewSwitcherProvider

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IVoiceCommandActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IWalletActionActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IWebAccountProviderActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for IWebAuthenticationBrokerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for LaunchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for LockScreenActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for LockScreenCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for LockScreenComponentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for PhoneCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for PickerReturnedActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for Print3DWorkflowActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for PrintSupportSettingsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for PrintTaskSettingsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for PrintWorkflowJobActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for PrintWorkflowUIActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ProtocolActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ProtocolForResultsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for RestrictedLaunchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for SearchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ShareTargetActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for StartupTaskActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for ToastNotificationActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for UserDataAccountProviderActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for VoiceCommandActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for VpnForegroundActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WalletActionActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebAccountProviderActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebAuthenticationBrokerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIBarcodeScannerPreviewActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUICachedFileUpdaterActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUICameraSettingsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUICommandLineActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIContactCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIContactMapActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIContactMessageActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIContactPanelActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIContactPickerActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIContactPostActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIContactVideoCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIDeviceActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIDevicePairingActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIDialReceiverActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIFileActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIFileOpenPickerActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIFileOpenPickerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIFileSavePickerActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIFileSavePickerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIFolderPickerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUILaunchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUILockScreenActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUILockScreenCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUILockScreenComponentActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIPhoneCallActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIPrint3DWorkflowActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIPrintTaskSettingsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIPrintWorkflowForegroundTaskActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIProtocolActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIProtocolForResultsActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIRestrictedLaunchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUISearchActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIShareTargetActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIStartupTaskActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIToastNotificationActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIUserDataAccountProviderActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIVoiceCommandActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIWalletActionActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIWebAccountProviderActivatedEventArgs

§

const QUERY: bool = true

§

impl CanInto<IActivatedEventArgs> for WebUIWebAuthenticationBrokerContinuationEventArgs

§

const QUERY: bool = true

§

impl CanInto<IInspectable> for IActivatedEventArgs

§

const QUERY: bool = false

§

impl CanInto<IUnknown> for IActivatedEventArgs

§

const QUERY: bool = false

§

impl Clone for IActivatedEventArgs

§

fn clone(&self) -> IActivatedEventArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for IActivatedEventArgs

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Deref for IActivatedEventArgs

§

type Target = IInspectable

The resulting type after dereferencing.
§

fn deref(&self) -> &Self::Target

Dereferences the value.
§

impl From<&IActivatedEventArgs> for &IInspectable

§

fn from(value: &IActivatedEventArgs) -> Self

Converts to this type from the input type.
§

impl From<&IActivatedEventArgs> for &IUnknown

§

fn from(value: &IActivatedEventArgs) -> Self

Converts to this type from the input type.
§

impl From<IActivatedEventArgs> for IInspectable

§

fn from(value: IActivatedEventArgs) -> Self

Converts to this type from the input type.
§

impl From<IActivatedEventArgs> for IUnknown

§

fn from(value: IActivatedEventArgs) -> Self

Converts to this type from the input type.
§

impl Interface for IActivatedEventArgs

§

const IID: GUID = _

The GUID associated with the interface.
§

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

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

fn cast<T>(&self) -> Result<T, Error>
where T: Interface,

Attempts to cast the current interface to another interface using QueryInterface. Read more
§

fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

This casts the given COM interface to [&dyn Any]. Read more
§

fn is_object<T>(&self) -> bool
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

Returns true if the given COM interface refers to an implementation of T. Read more
§

fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

This casts the given COM interface to [&dyn Any]. It returns a reference to the “outer” object, e.g. &MyApp_Impl, not the inner &MyApp object. Read more
§

fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

This casts the given COM interface to [&dyn Any]. It returns a reference to the “outer” object, e.g. MyApp_Impl, not the inner MyApp object. Read more
§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a [Weak] reference to this object.
§

unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT

Call QueryInterface on this interface Read more
§

fn to_ref(&self) -> InterfaceRef<'_, Self>

Creates an InterfaceRef for this reference. The InterfaceRef tracks lifetimes statically, and eliminates the need for dynamic reference count adjustments (AddRef/Release).
§

impl PartialEq for IActivatedEventArgs

§

fn eq(&self, other: &IActivatedEventArgs) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for IActivatedEventArgs

§

impl StructuralPartialEq for IActivatedEventArgs

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.