pub struct IDetailsData(/* private fields */);Expand description
The IDetailsData interface is used to define data in the details view of Command Palette.
Trait Implementations§
Source§impl AsImpl<DetailsCommands> for IDetailsData
impl AsImpl<DetailsCommands> for IDetailsData
Source§impl AsImpl<DetailsLink> for IDetailsData
impl AsImpl<DetailsLink> for IDetailsData
Source§impl AsImpl<DetailsSeparator> for IDetailsData
impl AsImpl<DetailsSeparator> for IDetailsData
Source§impl AsImpl<DetailsTags> for IDetailsData
impl AsImpl<DetailsTags> for IDetailsData
Source§impl CanInto<IDetailsData> for IDetailsCommands
impl CanInto<IDetailsData> for IDetailsCommands
Source§impl CanInto<IDetailsData> for IDetailsLink
impl CanInto<IDetailsData> for IDetailsLink
Source§impl CanInto<IDetailsData> for IDetailsSeparator
impl CanInto<IDetailsData> for IDetailsSeparator
Source§impl CanInto<IDetailsData> for IDetailsTags
impl CanInto<IDetailsData> for IDetailsTags
Source§impl CanInto<IInspectable> for IDetailsData
impl CanInto<IInspectable> for IDetailsData
Source§impl Clone for IDetailsData
impl Clone for IDetailsData
Source§fn clone(&self) -> IDetailsData
fn clone(&self) -> IDetailsData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComObjectInterface<IDetailsData> for DetailsCommands_Impl
impl ComObjectInterface<IDetailsData> for DetailsCommands_Impl
Source§fn as_interface_ref(&self) -> InterfaceRef<'_, IDetailsData>
fn as_interface_ref(&self) -> InterfaceRef<'_, IDetailsData>
Gets a borrowed interface that is implemented by
T.Source§impl ComObjectInterface<IDetailsData> for DetailsLink_Impl
impl ComObjectInterface<IDetailsData> for DetailsLink_Impl
Source§fn as_interface_ref(&self) -> InterfaceRef<'_, IDetailsData>
fn as_interface_ref(&self) -> InterfaceRef<'_, IDetailsData>
Gets a borrowed interface that is implemented by
T.Source§impl ComObjectInterface<IDetailsData> for DetailsSeparator_Impl
impl ComObjectInterface<IDetailsData> for DetailsSeparator_Impl
Source§fn as_interface_ref(&self) -> InterfaceRef<'_, IDetailsData>
fn as_interface_ref(&self) -> InterfaceRef<'_, IDetailsData>
Gets a borrowed interface that is implemented by
T.Source§impl ComObjectInterface<IDetailsData> for DetailsTags_Impl
impl ComObjectInterface<IDetailsData> for DetailsTags_Impl
Source§fn as_interface_ref(&self) -> InterfaceRef<'_, IDetailsData>
fn as_interface_ref(&self) -> InterfaceRef<'_, IDetailsData>
Gets a borrowed interface that is implemented by
T.Source§impl Debug for IDetailsData
impl Debug for IDetailsData
impl Eq for IDetailsData
Source§impl From<&DetailsData> for IDetailsData
impl From<&DetailsData> for IDetailsData
Source§fn from(data: &DetailsData) -> Self
fn from(data: &DetailsData) -> Self
Converts to this type from the input type.
Source§impl From<&IDetailsData> for &IInspectable
impl From<&IDetailsData> for &IInspectable
Source§fn from(value: &IDetailsData) -> Self
fn from(value: &IDetailsData) -> Self
Converts to this type from the input type.
Source§impl From<&IDetailsData> for &IUnknown
impl From<&IDetailsData> for &IUnknown
Source§fn from(value: &IDetailsData) -> Self
fn from(value: &IDetailsData) -> Self
Converts to this type from the input type.
Source§impl From<DetailsCommands> for IDetailsData
impl From<DetailsCommands> for IDetailsData
Source§fn from(this: DetailsCommands) -> Self
fn from(this: DetailsCommands) -> Self
Converts to this type from the input type.
Source§impl From<DetailsLink> for IDetailsData
impl From<DetailsLink> for IDetailsData
Source§fn from(this: DetailsLink) -> Self
fn from(this: DetailsLink) -> Self
Converts to this type from the input type.
Source§impl From<DetailsSeparator> for IDetailsData
impl From<DetailsSeparator> for IDetailsData
Source§fn from(this: DetailsSeparator) -> Self
fn from(this: DetailsSeparator) -> Self
Converts to this type from the input type.
Source§impl From<DetailsTags> for IDetailsData
impl From<DetailsTags> for IDetailsData
Source§fn from(this: DetailsTags) -> Self
fn from(this: DetailsTags) -> Self
Converts to this type from the input type.
Source§impl From<IDetailsData> for IInspectable
impl From<IDetailsData> for IInspectable
Source§fn from(value: IDetailsData) -> Self
fn from(value: IDetailsData) -> Self
Converts to this type from the input type.
Source§impl From<IDetailsData> for IUnknown
impl From<IDetailsData> for IUnknown
Source§fn from(value: IDetailsData) -> Self
fn from(value: IDetailsData) -> Self
Converts to this type from the input type.
Source§impl Interface for IDetailsData
impl Interface for IDetailsData
Source§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.Source§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.
Source§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 moreSource§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
This casts the given COM interface to [
&dyn Any]. Read moreSource§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl, not the inner &MyApp object. Read moreSource§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. MyApp_Impl, not the inner MyApp object. Read moreSource§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a
Weak reference to this object.Source§unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT
Call
QueryInterface on this interface Read moreSource§fn to_ref(&self) -> InterfaceRef<'_, Self>
fn to_ref(&self) -> InterfaceRef<'_, Self>
Creates an
InterfaceRef for this reference. The InterfaceRef tracks lifetimes statically,
and eliminates the need for dynamic reference count adjustments (AddRef/Release).Source§impl PartialEq for IDetailsData
impl PartialEq for IDetailsData
Source§fn eq(&self, other: &IDetailsData) -> bool
fn eq(&self, other: &IDetailsData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IDetailsData
Auto Trait Implementations§
impl !Send for IDetailsData
impl !Sync for IDetailsData
impl Freeze for IDetailsData
impl RefUnwindSafe for IDetailsData
impl Unpin for IDetailsData
impl UnsafeUnpin for IDetailsData
impl UnwindSafe for IDetailsData
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