pub struct IPersist(/* private fields */);
Implementations§
§impl IPersist
impl IPersist
pub unsafe fn GetClassID(&self) -> Result<GUID>
Trait Implementations§
§impl From<&IAVIPersistFile> for &IPersist
impl From<&IAVIPersistFile> for &IPersist
§fn from(value: &IAVIPersistFile) -> Self
fn from(value: &IAVIPersistFile) -> Self
Converts to this type from the input type.
§impl From<&IBaseFilter> for &IPersist
impl From<&IBaseFilter> for &IPersist
§fn from(value: &IBaseFilter) -> Self
fn from(value: &IBaseFilter) -> Self
Converts to this type from the input type.
§impl From<&ICondition> for &IPersist
impl From<&ICondition> for &IPersist
§fn from(value: &ICondition) -> Self
fn from(value: &ICondition) -> Self
Converts to this type from the input type.
§impl From<&ICondition2> for &IPersist
impl From<&ICondition2> for &IPersist
§fn from(value: &ICondition2) -> Self
fn from(value: &ICondition2) -> Self
Converts to this type from the input type.
§impl From<&IITPropList> for &IPersist
impl From<&IITPropList> for &IPersist
§fn from(value: &IITPropList) -> Self
fn from(value: &IITPropList) -> Self
Converts to this type from the input type.
§impl From<&IMSVidCompositionSegment> for &IPersist
impl From<&IMSVidCompositionSegment> for &IPersist
§fn from(value: &IMSVidCompositionSegment) -> Self
fn from(value: &IMSVidCompositionSegment) -> Self
Converts to this type from the input type.
§impl From<&IMSVidGraphSegment> for &IPersist
impl From<&IMSVidGraphSegment> for &IPersist
§fn from(value: &IMSVidGraphSegment) -> Self
fn from(value: &IMSVidGraphSegment) -> Self
Converts to this type from the input type.
§impl From<&IMSVidVRGraphSegment> for &IPersist
impl From<&IMSVidVRGraphSegment> for &IPersist
§fn from(value: &IMSVidVRGraphSegment) -> Self
fn from(value: &IMSVidVRGraphSegment) -> Self
Converts to this type from the input type.
§impl From<&IMediaFilter> for &IPersist
impl From<&IMediaFilter> for &IPersist
§fn from(value: &IMediaFilter) -> Self
fn from(value: &IMediaFilter) -> Self
Converts to this type from the input type.
§impl From<&IMediaStreamFilter> for &IPersist
impl From<&IMediaStreamFilter> for &IPersist
§fn from(value: &IMediaStreamFilter) -> Self
fn from(value: &IMediaStreamFilter) -> Self
Converts to this type from the input type.
§impl From<&IPersistFile> for &IPersist
impl From<&IPersistFile> for &IPersist
§fn from(value: &IPersistFile) -> Self
fn from(value: &IPersistFile) -> Self
Converts to this type from the input type.
§impl From<&IPersistFolder> for &IPersist
impl From<&IPersistFolder> for &IPersist
§fn from(value: &IPersistFolder) -> Self
fn from(value: &IPersistFolder) -> Self
Converts to this type from the input type.
§impl From<&IPersistFolder2> for &IPersist
impl From<&IPersistFolder2> for &IPersist
§fn from(value: &IPersistFolder2) -> Self
fn from(value: &IPersistFolder2) -> Self
Converts to this type from the input type.
§impl From<&IPersistFolder3> for &IPersist
impl From<&IPersistFolder3> for &IPersist
§fn from(value: &IPersistFolder3) -> Self
fn from(value: &IPersistFolder3) -> Self
Converts to this type from the input type.
§impl From<&IPersistHistory> for &IPersist
impl From<&IPersistHistory> for &IPersist
§fn from(value: &IPersistHistory) -> Self
fn from(value: &IPersistHistory) -> Self
Converts to this type from the input type.
§impl From<&IPersistIDList> for &IPersist
impl From<&IPersistIDList> for &IPersist
§fn from(value: &IPersistIDList) -> Self
fn from(value: &IPersistIDList) -> Self
Converts to this type from the input type.
§impl From<&IPersistMediaPropertyBag> for &IPersist
impl From<&IPersistMediaPropertyBag> for &IPersist
§fn from(value: &IPersistMediaPropertyBag) -> Self
fn from(value: &IPersistMediaPropertyBag) -> Self
Converts to this type from the input type.
§impl From<&IPersistMemory> for &IPersist
impl From<&IPersistMemory> for &IPersist
§fn from(value: &IPersistMemory) -> Self
fn from(value: &IPersistMemory) -> Self
Converts to this type from the input type.
§impl From<&IPersistPropertyBag> for &IPersist
impl From<&IPersistPropertyBag> for &IPersist
§fn from(value: &IPersistPropertyBag) -> Self
fn from(value: &IPersistPropertyBag) -> Self
Converts to this type from the input type.
§impl From<&IPersistPropertyBag2> for &IPersist
impl From<&IPersistPropertyBag2> for &IPersist
§fn from(value: &IPersistPropertyBag2) -> Self
fn from(value: &IPersistPropertyBag2) -> Self
Converts to this type from the input type.
§impl From<&IPersistQuery> for &IPersist
impl From<&IPersistQuery> for &IPersist
§fn from(value: &IPersistQuery) -> Self
fn from(value: &IPersistQuery) -> Self
Converts to this type from the input type.
§impl From<&IPersistStorage> for &IPersist
impl From<&IPersistStorage> for &IPersist
§fn from(value: &IPersistStorage) -> Self
fn from(value: &IPersistStorage) -> Self
Converts to this type from the input type.
§impl From<&IPersistStream> for &IPersist
impl From<&IPersistStream> for &IPersist
§fn from(value: &IPersistStream) -> Self
fn from(value: &IPersistStream) -> Self
Converts to this type from the input type.
§impl From<&IPersistStreamInit> for &IPersist
impl From<&IPersistStreamInit> for &IPersist
§fn from(value: &IPersistStreamInit) -> Self
fn from(value: &IPersistStreamInit) -> Self
Converts to this type from the input type.
§impl From<&IPersistTuneXml> for &IPersist
impl From<&IPersistTuneXml> for &IPersist
§fn from(value: &IPersistTuneXml) -> Self
fn from(value: &IPersistTuneXml) -> Self
Converts to this type from the input type.
§impl From<&IWICPersistStream> for &IPersist
impl From<&IWICPersistStream> for &IPersist
§fn from(value: &IWICPersistStream) -> Self
fn from(value: &IWICPersistStream) -> Self
Converts to this type from the input type.
§impl From<IAVIPersistFile> for IPersist
impl From<IAVIPersistFile> for IPersist
§fn from(value: IAVIPersistFile) -> Self
fn from(value: IAVIPersistFile) -> Self
Converts to this type from the input type.
§impl From<IBaseFilter> for IPersist
impl From<IBaseFilter> for IPersist
§fn from(value: IBaseFilter) -> Self
fn from(value: IBaseFilter) -> Self
Converts to this type from the input type.
§impl From<ICondition> for IPersist
impl From<ICondition> for IPersist
§fn from(value: ICondition) -> Self
fn from(value: ICondition) -> Self
Converts to this type from the input type.
§impl From<ICondition2> for IPersist
impl From<ICondition2> for IPersist
§fn from(value: ICondition2) -> Self
fn from(value: ICondition2) -> Self
Converts to this type from the input type.
§impl From<IITPropList> for IPersist
impl From<IITPropList> for IPersist
§fn from(value: IITPropList) -> Self
fn from(value: IITPropList) -> Self
Converts to this type from the input type.
§impl From<IMSVidCompositionSegment> for IPersist
impl From<IMSVidCompositionSegment> for IPersist
§fn from(value: IMSVidCompositionSegment) -> Self
fn from(value: IMSVidCompositionSegment) -> Self
Converts to this type from the input type.
§impl From<IMSVidGraphSegment> for IPersist
impl From<IMSVidGraphSegment> for IPersist
§fn from(value: IMSVidGraphSegment) -> Self
fn from(value: IMSVidGraphSegment) -> Self
Converts to this type from the input type.
§impl From<IMSVidVRGraphSegment> for IPersist
impl From<IMSVidVRGraphSegment> for IPersist
§fn from(value: IMSVidVRGraphSegment) -> Self
fn from(value: IMSVidVRGraphSegment) -> Self
Converts to this type from the input type.
§impl From<IMediaFilter> for IPersist
impl From<IMediaFilter> for IPersist
§fn from(value: IMediaFilter) -> Self
fn from(value: IMediaFilter) -> Self
Converts to this type from the input type.
§impl From<IMediaStreamFilter> for IPersist
impl From<IMediaStreamFilter> for IPersist
§fn from(value: IMediaStreamFilter) -> Self
fn from(value: IMediaStreamFilter) -> Self
Converts to this type from the input type.
§impl From<IPersistFile> for IPersist
impl From<IPersistFile> for IPersist
§fn from(value: IPersistFile) -> Self
fn from(value: IPersistFile) -> Self
Converts to this type from the input type.
§impl From<IPersistFolder> for IPersist
impl From<IPersistFolder> for IPersist
§fn from(value: IPersistFolder) -> Self
fn from(value: IPersistFolder) -> Self
Converts to this type from the input type.
§impl From<IPersistFolder2> for IPersist
impl From<IPersistFolder2> for IPersist
§fn from(value: IPersistFolder2) -> Self
fn from(value: IPersistFolder2) -> Self
Converts to this type from the input type.
§impl From<IPersistFolder3> for IPersist
impl From<IPersistFolder3> for IPersist
§fn from(value: IPersistFolder3) -> Self
fn from(value: IPersistFolder3) -> Self
Converts to this type from the input type.
§impl From<IPersistHistory> for IPersist
impl From<IPersistHistory> for IPersist
§fn from(value: IPersistHistory) -> Self
fn from(value: IPersistHistory) -> Self
Converts to this type from the input type.
§impl From<IPersistIDList> for IPersist
impl From<IPersistIDList> for IPersist
§fn from(value: IPersistIDList) -> Self
fn from(value: IPersistIDList) -> Self
Converts to this type from the input type.
§impl From<IPersistMediaPropertyBag> for IPersist
impl From<IPersistMediaPropertyBag> for IPersist
§fn from(value: IPersistMediaPropertyBag) -> Self
fn from(value: IPersistMediaPropertyBag) -> Self
Converts to this type from the input type.
§impl From<IPersistMemory> for IPersist
impl From<IPersistMemory> for IPersist
§fn from(value: IPersistMemory) -> Self
fn from(value: IPersistMemory) -> Self
Converts to this type from the input type.
§impl From<IPersistPropertyBag> for IPersist
impl From<IPersistPropertyBag> for IPersist
§fn from(value: IPersistPropertyBag) -> Self
fn from(value: IPersistPropertyBag) -> Self
Converts to this type from the input type.
§impl From<IPersistPropertyBag2> for IPersist
impl From<IPersistPropertyBag2> for IPersist
§fn from(value: IPersistPropertyBag2) -> Self
fn from(value: IPersistPropertyBag2) -> Self
Converts to this type from the input type.
§impl From<IPersistQuery> for IPersist
impl From<IPersistQuery> for IPersist
§fn from(value: IPersistQuery) -> Self
fn from(value: IPersistQuery) -> Self
Converts to this type from the input type.
§impl From<IPersistStorage> for IPersist
impl From<IPersistStorage> for IPersist
§fn from(value: IPersistStorage) -> Self
fn from(value: IPersistStorage) -> Self
Converts to this type from the input type.
§impl From<IPersistStream> for IPersist
impl From<IPersistStream> for IPersist
§fn from(value: IPersistStream) -> Self
fn from(value: IPersistStream) -> Self
Converts to this type from the input type.
§impl From<IPersistStreamInit> for IPersist
impl From<IPersistStreamInit> for IPersist
§fn from(value: IPersistStreamInit) -> Self
fn from(value: IPersistStreamInit) -> Self
Converts to this type from the input type.
§impl From<IPersistTuneXml> for IPersist
impl From<IPersistTuneXml> for IPersist
§fn from(value: IPersistTuneXml) -> Self
fn from(value: IPersistTuneXml) -> Self
Converts to this type from the input type.
§impl From<IWICPersistStream> for IPersist
impl From<IWICPersistStream> for IPersist
§fn from(value: IWICPersistStream) -> Self
fn from(value: IWICPersistStream) -> Self
Converts to this type from the input type.
§impl Interface for IPersist
impl Interface for IPersist
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
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 more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
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 more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.impl Eq for IPersist
impl StructuralPartialEq for IPersist
Auto Trait Implementations§
impl Freeze for IPersist
impl RefUnwindSafe for IPersist
impl !Send for IPersist
impl !Sync for IPersist
impl Unpin for IPersist
impl UnwindSafe for IPersist
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)