Struct IDataModelManager2
pub struct IDataModelManager2(/* private fields */);
Implementations§
§impl IDataModelManager2
impl IDataModelManager2
pub unsafe fn AcquireSubNamespace<P0, P1, P2, P3>(
&self,
modelname: P0,
subnamespacemodelname: P1,
accessname: P2,
metadata: P3,
) -> Result<IModelObject>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
P2: Param<PCWSTR>,
P3: Param<IKeyStore>,
pub unsafe fn CreateTypedIntrinsicObjectEx<P0, P2>(
&self,
context: P0,
intrinsicdata: *const VARIANT,
type: P2,
) -> Result<IModelObject>where
P0: Param<IDebugHostContext>,
P2: Param<IDebugHostType>,
Methods from Deref<Target = IDataModelManager>§
pub unsafe fn Close(&self) -> Result<()>
pub unsafe fn CreateNoValue(&self) -> Result<IModelObject>
pub unsafe fn CreateErrorObject<P1>(
&self,
hrerror: HRESULT,
pwszmessage: P1,
) -> Result<IModelObject>where
P1: Param<PCWSTR>,
pub unsafe fn CreateTypedObject<P0, P2>(
&self,
context: P0,
objectlocation: Location,
objecttype: P2,
) -> Result<IModelObject>where
P0: Param<IDebugHostContext>,
P2: Param<IDebugHostType>,
pub unsafe fn CreateTypedObjectReference<P0, P2>(
&self,
context: P0,
objectlocation: Location,
objecttype: P2,
) -> Result<IModelObject>where
P0: Param<IDebugHostContext>,
P2: Param<IDebugHostType>,
pub unsafe fn CreateSyntheticObject<P0>(
&self,
context: P0,
) -> Result<IModelObject>where
P0: Param<IDebugHostContext>,
pub unsafe fn CreateDataModelObject<P0>(
&self,
datamodel: P0,
) -> Result<IModelObject>where
P0: Param<IDataModelConcept>,
pub unsafe fn CreateIntrinsicObject( &self, objectkind: ModelObjectKind, intrinsicdata: *const VARIANT, ) -> Result<IModelObject>
pub unsafe fn CreateTypedIntrinsicObject<P1>(
&self,
intrinsicdata: *const VARIANT,
type: P1,
) -> Result<IModelObject>where
P1: Param<IDebugHostType>,
pub unsafe fn GetModelForTypeSignature<P0>(
&self,
typesignature: P0,
) -> Result<IModelObject>where
P0: Param<IDebugHostTypeSignature>,
pub unsafe fn GetModelForType<P0>(
&self,
type: P0,
datamodel: *mut Option<IModelObject>,
typesignature: Option<*mut Option<IDebugHostTypeSignature>>,
wildcardmatches: Option<*mut Option<IDebugHostSymbolEnumerator>>,
) -> Result<()>where
P0: Param<IDebugHostType>,
pub unsafe fn RegisterModelForTypeSignature<P0, P1>(
&self,
typesignature: P0,
datamodel: P1,
) -> Result<()>where
P0: Param<IDebugHostTypeSignature>,
P1: Param<IModelObject>,
pub unsafe fn UnregisterModelForTypeSignature<P0, P1>(
&self,
datamodel: P0,
typesignature: P1,
) -> Result<()>where
P0: Param<IModelObject>,
P1: Param<IDebugHostTypeSignature>,
pub unsafe fn RegisterExtensionForTypeSignature<P0, P1>(
&self,
typesignature: P0,
datamodel: P1,
) -> Result<()>where
P0: Param<IDebugHostTypeSignature>,
P1: Param<IModelObject>,
pub unsafe fn UnregisterExtensionForTypeSignature<P0, P1>(
&self,
datamodel: P0,
typesignature: P1,
) -> Result<()>where
P0: Param<IModelObject>,
P1: Param<IDebugHostTypeSignature>,
pub unsafe fn CreateMetadataStore<P0>(
&self,
parentstore: P0,
) -> Result<IKeyStore>where
P0: Param<IKeyStore>,
pub unsafe fn GetRootNamespace(&self) -> Result<IModelObject>
pub unsafe fn RegisterNamedModel<P0, P1>(
&self,
modelname: P0,
modeobject: P1,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<IModelObject>,
pub unsafe fn UnregisterNamedModel<P0>(&self, modelname: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn AcquireNamedModel<P0>(
&self,
modelname: P0,
) -> Result<IModelObject>where
P0: Param<PCWSTR>,
Trait Implementations§
§impl CanInto<IDataModelManager> for IDataModelManager2
impl CanInto<IDataModelManager> for IDataModelManager2
§impl CanInto<IUnknown> for IDataModelManager2
impl CanInto<IUnknown> for IDataModelManager2
§impl Clone for IDataModelManager2
impl Clone for IDataModelManager2
§fn clone(&self) -> IDataModelManager2
fn clone(&self) -> IDataModelManager2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDataModelManager2
impl Debug for IDataModelManager2
§impl Deref for IDataModelManager2
impl Deref for IDataModelManager2
§impl From<&IDataModelManager2> for &IDataModelManager
impl From<&IDataModelManager2> for &IDataModelManager
§fn from(value: &IDataModelManager2) -> Self
fn from(value: &IDataModelManager2) -> Self
Converts to this type from the input type.
§impl From<&IDataModelManager2> for &IUnknown
impl From<&IDataModelManager2> for &IUnknown
§fn from(value: &IDataModelManager2) -> Self
fn from(value: &IDataModelManager2) -> Self
Converts to this type from the input type.
§impl From<IDataModelManager2> for IDataModelManager
impl From<IDataModelManager2> for IDataModelManager
§fn from(value: IDataModelManager2) -> Self
fn from(value: IDataModelManager2) -> Self
Converts to this type from the input type.
§impl From<IDataModelManager2> for IUnknown
impl From<IDataModelManager2> for IUnknown
§fn from(value: IDataModelManager2) -> Self
fn from(value: IDataModelManager2) -> Self
Converts to this type from the input type.
§impl Interface for IDataModelManager2
impl Interface for IDataModelManager2
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 PartialEq for IDataModelManager2
impl PartialEq for IDataModelManager2
impl Eq for IDataModelManager2
impl StructuralPartialEq for IDataModelManager2
Auto Trait Implementations§
impl Freeze for IDataModelManager2
impl RefUnwindSafe for IDataModelManager2
impl !Send for IDataModelManager2
impl !Sync for IDataModelManager2
impl Unpin for IDataModelManager2
impl UnwindSafe for IDataModelManager2
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