Trait IWMPMediaCollection2_Impl
pub trait IWMPMediaCollection2_Impl: IWMPMediaCollection_Impl {
// Required methods
fn createQuery(&self) -> Result<IWMPQuery>;
fn getPlaylistByQuery(
&self,
pquery: Ref<'_, IWMPQuery>,
bstrmediatype: &BSTR,
bstrsortattribute: &BSTR,
fsortascending: VARIANT_BOOL,
) -> Result<IWMPPlaylist>;
fn getStringCollectionByQuery(
&self,
bstrattribute: &BSTR,
pquery: Ref<'_, IWMPQuery>,
bstrmediatype: &BSTR,
bstrsortattribute: &BSTR,
fsortascending: VARIANT_BOOL,
) -> Result<IWMPStringCollection>;
fn getByAttributeAndMediaType(
&self,
bstrattribute: &BSTR,
bstrvalue: &BSTR,
bstrmediatype: &BSTR,
) -> Result<IWMPPlaylist>;
}
Required Methods§
fn createQuery(&self) -> Result<IWMPQuery>
fn getPlaylistByQuery( &self, pquery: Ref<'_, IWMPQuery>, bstrmediatype: &BSTR, bstrsortattribute: &BSTR, fsortascending: VARIANT_BOOL, ) -> Result<IWMPPlaylist>
fn getStringCollectionByQuery( &self, bstrattribute: &BSTR, pquery: Ref<'_, IWMPQuery>, bstrmediatype: &BSTR, bstrsortattribute: &BSTR, fsortascending: VARIANT_BOOL, ) -> Result<IWMPStringCollection>
fn getByAttributeAndMediaType( &self, bstrattribute: &BSTR, bstrvalue: &BSTR, bstrmediatype: &BSTR, ) -> Result<IWMPPlaylist>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.