pub struct DetailsElement { /* private fields */ }Expand description
Represents a detail metadata that can be used in Details.
See: IDetailsElement
The IDetailsElement interface is used to define an element in the details view Command Palette.
Implementations§
Source§impl DetailsElement
impl DetailsElement
Sourcepub const fn into_static(self) -> StaticComObject<Self>
pub const fn into_static(self) -> StaticComObject<Self>
This converts a partially-constructed COM object (in the sense that it contains
application state but does not yet have vtable and reference count constructed)
into a StaticComObject. This allows the COM object to be stored in static
(global) variables.
Source§impl DetailsElement
impl DetailsElement
Sourcepub fn new_unmanaged(key: impl Into<HSTRING>, data: DetailsData) -> Self
pub fn new_unmanaged(key: impl Into<HSTRING>, data: DetailsData) -> Self
Creates a new unmanaged instance of DetailsElement with the specified key and data.
Trait Implementations§
Source§impl AsImpl<DetailsElement> for IDetailsElement
impl AsImpl<DetailsElement> for IDetailsElement
Source§impl ComObjectInner for DetailsElement
impl ComObjectInner for DetailsElement
Source§type Outer = DetailsElement_Impl
type Outer = DetailsElement_Impl
The generated
<foo>_Impl type (aka the “boxed” type or “outer” type).Source§fn into_object(self) -> ComObject<Self>
fn into_object(self) -> ComObject<Self>
Moves an instance of this type into a new ComObject box and returns it. Read more
Source§impl From<DetailsElement> for IDetailsElement
impl From<DetailsElement> for IDetailsElement
Source§fn from(this: DetailsElement) -> Self
fn from(this: DetailsElement) -> Self
Converts to this type from the input type.
Source§impl From<DetailsElement> for IInspectable
impl From<DetailsElement> for IInspectable
Source§fn from(this: DetailsElement) -> Self
fn from(this: DetailsElement) -> Self
Converts to this type from the input type.
Source§impl From<DetailsElement> for IUnknown
impl From<DetailsElement> for IUnknown
Source§fn from(this: DetailsElement) -> Self
fn from(this: DetailsElement) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DetailsElement
impl RefUnwindSafe for DetailsElement
impl Send for DetailsElement
impl Sync for DetailsElement
impl Unpin for DetailsElement
impl UnsafeUnpin for DetailsElement
impl UnwindSafe for DetailsElement
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