pub struct UserActivityAttribution(/* private fields */);
Implementations§
§impl UserActivityAttribution
impl UserActivityAttribution
pub fn new() -> Result<Self>
pub fn IconUri(&self) -> Result<Uri>
pub fn SetIconUri<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn AlternateText(&self) -> Result<HSTRING>
pub fn SetAlternateText(&self, value: &HSTRING) -> Result<()>
pub fn AddImageQuery(&self) -> Result<bool>
pub fn SetAddImageQuery(&self, value: bool) -> Result<()>
pub fn CreateWithUri<P0>(iconuri: P0) -> Result<UserActivityAttribution>where
P0: IntoParam<Uri>,
Trait Implementations§
§impl Clone for UserActivityAttribution
impl Clone for UserActivityAttribution
§fn clone(&self) -> UserActivityAttribution
fn clone(&self) -> UserActivityAttribution
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 Debug for UserActivityAttribution
impl Debug for UserActivityAttribution
§impl From<&UserActivityAttribution> for &IInspectable
impl From<&UserActivityAttribution> for &IInspectable
§fn from(value: &UserActivityAttribution) -> Self
fn from(value: &UserActivityAttribution) -> Self
Converts to this type from the input type.
§impl From<&UserActivityAttribution> for &IUnknown
impl From<&UserActivityAttribution> for &IUnknown
§fn from(value: &UserActivityAttribution) -> Self
fn from(value: &UserActivityAttribution) -> Self
Converts to this type from the input type.
§impl From<UserActivityAttribution> for IInspectable
impl From<UserActivityAttribution> for IInspectable
§fn from(value: UserActivityAttribution) -> Self
fn from(value: UserActivityAttribution) -> Self
Converts to this type from the input type.
§impl From<UserActivityAttribution> for IUnknown
impl From<UserActivityAttribution> for IUnknown
§fn from(value: UserActivityAttribution) -> Self
fn from(value: UserActivityAttribution) -> Self
Converts to this type from the input type.
§impl Interface for UserActivityAttribution
impl Interface for UserActivityAttribution
§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 UserActivityAttribution
impl PartialEq for UserActivityAttribution
§fn eq(&self, other: &UserActivityAttribution) -> bool
fn eq(&self, other: &UserActivityAttribution) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UserActivityAttribution
impl Send for UserActivityAttribution
impl StructuralPartialEq for UserActivityAttribution
impl Sync for UserActivityAttribution
Auto Trait Implementations§
impl RefUnwindSafe for UserActivityAttribution
impl Unpin for UserActivityAttribution
impl UnwindSafe for UserActivityAttribution
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