Struct windows::UI::Notifications::BadgeUpdater
pub struct BadgeUpdater(/* private fields */);
Implementations§
§impl BadgeUpdater
impl BadgeUpdater
pub fn Update<P0>(&self, notification: P0) -> Result<()>where
P0: IntoParam<BadgeNotification>,
pub fn Clear(&self) -> Result<()>
pub fn StartPeriodicUpdate<P0>(
&self,
badgecontent: P0,
requestedinterval: PeriodicUpdateRecurrence
) -> Result<()>where
P0: IntoParam<Uri>,
pub fn StartPeriodicUpdateAtTime<P0>(
&self,
badgecontent: P0,
starttime: DateTime,
requestedinterval: PeriodicUpdateRecurrence
) -> Result<()>where
P0: IntoParam<Uri>,
pub fn StopPeriodicUpdate(&self) -> Result<()>
Trait Implementations§
§impl Clone for BadgeUpdater
impl Clone for BadgeUpdater
§fn clone(&self) -> BadgeUpdater
fn clone(&self) -> BadgeUpdater
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 BadgeUpdater
impl Debug for BadgeUpdater
§impl From<&BadgeUpdater> for &IInspectable
impl From<&BadgeUpdater> for &IInspectable
§fn from(value: &BadgeUpdater) -> Self
fn from(value: &BadgeUpdater) -> Self
Converts to this type from the input type.
§impl From<&BadgeUpdater> for &IUnknown
impl From<&BadgeUpdater> for &IUnknown
§fn from(value: &BadgeUpdater) -> Self
fn from(value: &BadgeUpdater) -> Self
Converts to this type from the input type.
§impl From<BadgeUpdater> for IInspectable
impl From<BadgeUpdater> for IInspectable
§fn from(value: BadgeUpdater) -> Self
fn from(value: BadgeUpdater) -> Self
Converts to this type from the input type.
§impl From<BadgeUpdater> for IUnknown
impl From<BadgeUpdater> for IUnknown
§fn from(value: BadgeUpdater) -> Self
fn from(value: BadgeUpdater) -> Self
Converts to this type from the input type.
§impl Interface for BadgeUpdater
impl Interface for BadgeUpdater
§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 BadgeUpdater
impl PartialEq for BadgeUpdater
§fn eq(&self, other: &BadgeUpdater) -> bool
fn eq(&self, other: &BadgeUpdater) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BadgeUpdater
impl Send for BadgeUpdater
impl StructuralPartialEq for BadgeUpdater
impl Sync for BadgeUpdater
Auto Trait Implementations§
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