pub struct WindowTab(/* private fields */);
Implementations§
§impl WindowTab
impl WindowTab
pub fn new() -> Result<Self>
pub fn Tag(&self) -> Result<IInspectable>
pub fn SetTag<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IInspectable>,
pub fn Title(&self) -> Result<HSTRING>
pub fn SetTitle(&self, value: &HSTRING) -> Result<()>
pub fn Icon(&self) -> Result<WindowTabIcon>
pub fn SetIcon<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<WindowTabIcon>,
pub fn TreatAsSecondaryTileId(&self) -> Result<HSTRING>
pub fn SetTreatAsSecondaryTileId(&self, value: &HSTRING) -> Result<()>
pub fn Group(&self) -> Result<WindowTabGroup>
pub fn SetGroup<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<WindowTabGroup>,
pub fn ReportThumbnailAvailable(&self) -> Result<()>
Trait Implementations§
§impl From<&WindowTab> for &IInspectable
impl From<&WindowTab> for &IInspectable
§impl From<WindowTab> for IInspectable
impl From<WindowTab> for IInspectable
§impl Interface for WindowTab
impl Interface for WindowTab
§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 moreimpl Eq for WindowTab
impl Send for WindowTab
impl StructuralPartialEq for WindowTab
impl Sync for WindowTab
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