Struct windows::UI::StartScreen::SecondaryTile
pub struct SecondaryTile(/* private fields */);
Implementations§
§impl SecondaryTile
impl SecondaryTile
pub fn new() -> Result<Self>
pub fn SetTileId(&self, value: &HSTRING) -> Result<()>
pub fn TileId(&self) -> Result<HSTRING>
pub fn SetArguments(&self, value: &HSTRING) -> Result<()>
pub fn Arguments(&self) -> Result<HSTRING>
pub fn SetShortName(&self, value: &HSTRING) -> Result<()>
pub fn ShortName(&self) -> Result<HSTRING>
pub fn SetDisplayName(&self, value: &HSTRING) -> Result<()>
pub fn DisplayName(&self) -> Result<HSTRING>
pub fn SetLogo<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn Logo(&self) -> Result<Uri>
pub fn SetSmallLogo<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn SmallLogo(&self) -> Result<Uri>
pub fn SetWideLogo<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn WideLogo(&self) -> Result<Uri>
pub fn SetLockScreenBadgeLogo<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<Uri>,
pub fn LockScreenBadgeLogo(&self) -> Result<Uri>
pub fn SetLockScreenDisplayBadgeAndTileText(&self, value: bool) -> Result<()>
pub fn LockScreenDisplayBadgeAndTileText(&self) -> Result<bool>
pub fn SetTileOptions(&self, value: TileOptions) -> Result<()>
pub fn TileOptions(&self) -> Result<TileOptions>
pub fn SetForegroundText(&self, value: ForegroundText) -> Result<()>
pub fn ForegroundText(&self) -> Result<ForegroundText>
pub fn SetBackgroundColor(&self, value: Color) -> Result<()>
pub fn BackgroundColor(&self) -> Result<Color>
pub fn RequestCreateAsync(&self) -> Result<IAsyncOperation<bool>>
pub fn RequestCreateAsyncWithPoint( &self, invocationpoint: Point ) -> Result<IAsyncOperation<bool>>
pub fn RequestCreateAsyncWithRect( &self, selection: Rect ) -> Result<IAsyncOperation<bool>>
pub fn RequestCreateAsyncWithRectAndPlacement( &self, selection: Rect, preferredplacement: Placement ) -> Result<IAsyncOperation<bool>>
pub fn RequestDeleteAsync(&self) -> Result<IAsyncOperation<bool>>
pub fn RequestDeleteAsyncWithPoint( &self, invocationpoint: Point ) -> Result<IAsyncOperation<bool>>
pub fn RequestDeleteAsyncWithRect( &self, selection: Rect ) -> Result<IAsyncOperation<bool>>
pub fn RequestDeleteAsyncWithRectAndPlacement( &self, selection: Rect, preferredplacement: Placement ) -> Result<IAsyncOperation<bool>>
pub fn UpdateAsync(&self) -> Result<IAsyncOperation<bool>>
pub fn SetPhoneticName(&self, value: &HSTRING) -> Result<()>
pub fn PhoneticName(&self) -> Result<HSTRING>
pub fn VisualElements(&self) -> Result<SecondaryTileVisualElements>
pub fn SetRoamingEnabled(&self, value: bool) -> Result<()>
pub fn RoamingEnabled(&self) -> Result<bool>
pub fn VisualElementsRequested<P0>( &self, handler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveVisualElementsRequested( &self, token: EventRegistrationToken ) -> Result<()>
pub fn CreateTile<P0>(
tileid: &HSTRING,
shortname: &HSTRING,
displayname: &HSTRING,
arguments: &HSTRING,
tileoptions: TileOptions,
logoreference: P0
) -> Result<SecondaryTile>where
P0: IntoParam<Uri>,
pub fn CreateWideTile<P0, P1>( tileid: &HSTRING, shortname: &HSTRING, displayname: &HSTRING, arguments: &HSTRING, tileoptions: TileOptions, logoreference: P0, widelogoreference: P1 ) -> Result<SecondaryTile>
pub fn CreateWithId(tileid: &HSTRING) -> Result<SecondaryTile>
pub fn CreateMinimalTile<P0>(
tileid: &HSTRING,
displayname: &HSTRING,
arguments: &HSTRING,
square150x150logo: P0,
desiredsize: TileSize
) -> Result<SecondaryTile>where
P0: IntoParam<Uri>,
pub fn Exists(tileid: &HSTRING) -> Result<bool>
pub fn FindAllAsync() -> Result<IAsyncOperation<IVectorView<SecondaryTile>>>
pub fn FindAllForApplicationAsync( applicationid: &HSTRING ) -> Result<IAsyncOperation<IVectorView<SecondaryTile>>>
pub fn FindAllForPackageAsync( ) -> Result<IAsyncOperation<IVectorView<SecondaryTile>>>
Trait Implementations§
§impl Clone for SecondaryTile
impl Clone for SecondaryTile
§fn clone(&self) -> SecondaryTile
fn clone(&self) -> SecondaryTile
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 SecondaryTile
impl Debug for SecondaryTile
§impl From<&SecondaryTile> for &IInspectable
impl From<&SecondaryTile> for &IInspectable
§fn from(value: &SecondaryTile) -> Self
fn from(value: &SecondaryTile) -> Self
Converts to this type from the input type.
§impl From<&SecondaryTile> for &IUnknown
impl From<&SecondaryTile> for &IUnknown
§fn from(value: &SecondaryTile) -> Self
fn from(value: &SecondaryTile) -> Self
Converts to this type from the input type.
§impl From<SecondaryTile> for IInspectable
impl From<SecondaryTile> for IInspectable
§fn from(value: SecondaryTile) -> Self
fn from(value: SecondaryTile) -> Self
Converts to this type from the input type.
§impl From<SecondaryTile> for IUnknown
impl From<SecondaryTile> for IUnknown
§fn from(value: SecondaryTile) -> Self
fn from(value: SecondaryTile) -> Self
Converts to this type from the input type.
§impl Interface for SecondaryTile
impl Interface for SecondaryTile
§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 SecondaryTile
impl PartialEq for SecondaryTile
§fn eq(&self, other: &SecondaryTile) -> bool
fn eq(&self, other: &SecondaryTile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SecondaryTile
impl Send for SecondaryTile
impl StructuralPartialEq for SecondaryTile
impl Sync for SecondaryTile
Auto Trait Implementations§
impl RefUnwindSafe for SecondaryTile
impl Unpin for SecondaryTile
impl UnwindSafe for SecondaryTile
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