Trait IModelObject_Impl
pub trait IModelObject_Impl: IUnknownImpl {
Show 33 methods
// Required methods
fn GetContext(&self) -> Result<IDebugHostContext>;
fn GetKind(&self) -> Result<ModelObjectKind>;
fn GetIntrinsicValue(&self) -> Result<VARIANT>;
fn GetIntrinsicValueAs(&self, vt: VARENUM) -> Result<VARIANT>;
fn GetKeyValue(
&self,
key: &PCWSTR,
object: OutRef<'_, IModelObject>,
metadata: OutRef<'_, IKeyStore>,
) -> Result<()>;
fn SetKeyValue(
&self,
key: &PCWSTR,
object: Ref<'_, IModelObject>,
) -> Result<()>;
fn EnumerateKeyValues(&self) -> Result<IKeyEnumerator>;
fn GetRawValue(
&self,
kind: SymbolKind,
name: &PCWSTR,
searchflags: u32,
) -> Result<IModelObject>;
fn EnumerateRawValues(
&self,
kind: SymbolKind,
searchflags: u32,
) -> Result<IRawEnumerator>;
fn Dereference(&self) -> Result<IModelObject>;
fn TryCastToRuntimeType(&self) -> Result<IModelObject>;
fn GetConcept(
&self,
conceptid: *const GUID,
conceptinterface: OutRef<'_, IUnknown>,
conceptmetadata: OutRef<'_, IKeyStore>,
) -> Result<()>;
fn GetLocation(&self) -> Result<Location>;
fn GetTypeInfo(&self) -> Result<IDebugHostType>;
fn GetTargetInfo(
&self,
location: *mut Location,
type: OutRef<'_, IDebugHostType>,
) -> Result<()>;
fn GetNumberOfParentModels(&self) -> Result<u64>;
fn GetParentModel(
&self,
i: u64,
model: OutRef<'_, IModelObject>,
contextobject: OutRef<'_, IModelObject>,
) -> Result<()>;
fn AddParentModel(
&self,
model: Ref<'_, IModelObject>,
contextobject: Ref<'_, IModelObject>,
override: u8,
) -> Result<()>;
fn RemoveParentModel(&self, model: Ref<'_, IModelObject>) -> Result<()>;
fn GetKey(
&self,
key: &PCWSTR,
object: OutRef<'_, IModelObject>,
metadata: OutRef<'_, IKeyStore>,
) -> Result<()>;
fn GetKeyReference(
&self,
key: &PCWSTR,
objectreference: OutRef<'_, IModelObject>,
metadata: OutRef<'_, IKeyStore>,
) -> Result<()>;
fn SetKey(
&self,
key: &PCWSTR,
object: Ref<'_, IModelObject>,
metadata: Ref<'_, IKeyStore>,
) -> Result<()>;
fn ClearKeys(&self) -> Result<()>;
fn EnumerateKeys(&self) -> Result<IKeyEnumerator>;
fn EnumerateKeyReferences(&self) -> Result<IKeyEnumerator>;
fn SetConcept(
&self,
conceptid: *const GUID,
conceptinterface: Ref<'_, IUnknown>,
conceptmetadata: Ref<'_, IKeyStore>,
) -> Result<()>;
fn ClearConcepts(&self) -> Result<()>;
fn GetRawReference(
&self,
kind: SymbolKind,
name: &PCWSTR,
searchflags: u32,
) -> Result<IModelObject>;
fn EnumerateRawReferences(
&self,
kind: SymbolKind,
searchflags: u32,
) -> Result<IRawEnumerator>;
fn SetContextForDataModel(
&self,
datamodelobject: Ref<'_, IModelObject>,
context: Ref<'_, IUnknown>,
) -> Result<()>;
fn GetContextForDataModel(
&self,
datamodelobject: Ref<'_, IModelObject>,
) -> Result<IUnknown>;
fn Compare(
&self,
other: Ref<'_, IModelObject>,
ppresult: OutRef<'_, IModelObject>,
) -> Result<()>;
fn IsEqualTo(&self, other: Ref<'_, IModelObject>) -> Result<bool>;
}
Required Methods§
fn GetContext(&self) -> Result<IDebugHostContext>
fn GetKind(&self) -> Result<ModelObjectKind>
fn GetIntrinsicValue(&self) -> Result<VARIANT>
fn GetIntrinsicValueAs(&self, vt: VARENUM) -> Result<VARIANT>
fn GetKeyValue( &self, key: &PCWSTR, object: OutRef<'_, IModelObject>, metadata: OutRef<'_, IKeyStore>, ) -> Result<()>
fn SetKeyValue(&self, key: &PCWSTR, object: Ref<'_, IModelObject>) -> Result<()>
fn EnumerateKeyValues(&self) -> Result<IKeyEnumerator>
fn GetRawValue( &self, kind: SymbolKind, name: &PCWSTR, searchflags: u32, ) -> Result<IModelObject>
fn EnumerateRawValues( &self, kind: SymbolKind, searchflags: u32, ) -> Result<IRawEnumerator>
fn Dereference(&self) -> Result<IModelObject>
fn TryCastToRuntimeType(&self) -> Result<IModelObject>
fn GetConcept( &self, conceptid: *const GUID, conceptinterface: OutRef<'_, IUnknown>, conceptmetadata: OutRef<'_, IKeyStore>, ) -> Result<()>
fn GetLocation(&self) -> Result<Location>
fn GetTypeInfo(&self) -> Result<IDebugHostType>
fn GetTargetInfo( &self, location: *mut Location, type: OutRef<'_, IDebugHostType>, ) -> Result<()>
fn GetNumberOfParentModels(&self) -> Result<u64>
fn GetParentModel( &self, i: u64, model: OutRef<'_, IModelObject>, contextobject: OutRef<'_, IModelObject>, ) -> Result<()>
fn AddParentModel( &self, model: Ref<'_, IModelObject>, contextobject: Ref<'_, IModelObject>, override: u8, ) -> Result<()>
fn RemoveParentModel(&self, model: Ref<'_, IModelObject>) -> Result<()>
fn GetKey( &self, key: &PCWSTR, object: OutRef<'_, IModelObject>, metadata: OutRef<'_, IKeyStore>, ) -> Result<()>
fn GetKeyReference( &self, key: &PCWSTR, objectreference: OutRef<'_, IModelObject>, metadata: OutRef<'_, IKeyStore>, ) -> Result<()>
fn SetKey( &self, key: &PCWSTR, object: Ref<'_, IModelObject>, metadata: Ref<'_, IKeyStore>, ) -> Result<()>
fn ClearKeys(&self) -> Result<()>
fn EnumerateKeys(&self) -> Result<IKeyEnumerator>
fn EnumerateKeyReferences(&self) -> Result<IKeyEnumerator>
fn SetConcept( &self, conceptid: *const GUID, conceptinterface: Ref<'_, IUnknown>, conceptmetadata: Ref<'_, IKeyStore>, ) -> Result<()>
fn ClearConcepts(&self) -> Result<()>
fn GetRawReference( &self, kind: SymbolKind, name: &PCWSTR, searchflags: u32, ) -> Result<IModelObject>
fn EnumerateRawReferences( &self, kind: SymbolKind, searchflags: u32, ) -> Result<IRawEnumerator>
fn SetContextForDataModel( &self, datamodelobject: Ref<'_, IModelObject>, context: Ref<'_, IUnknown>, ) -> Result<()>
fn GetContextForDataModel( &self, datamodelobject: Ref<'_, IModelObject>, ) -> Result<IUnknown>
fn Compare( &self, other: Ref<'_, IModelObject>, ppresult: OutRef<'_, IModelObject>, ) -> Result<()>
fn IsEqualTo(&self, other: Ref<'_, IModelObject>) -> Result<bool>
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.