Struct IDebugSymbolGroup2
pub struct IDebugSymbolGroup2(/* private fields */);
Implementations§
§impl IDebugSymbolGroup2
impl IDebugSymbolGroup2
pub unsafe fn GetNumberSymbols(&self) -> Result<u32>
pub unsafe fn AddSymbol<P0>(&self, name: P0, index: *mut u32) -> Result<()>where
P0: Param<PCSTR>,
pub unsafe fn RemoveSymbolByName<P0>(&self, name: P0) -> Result<()>where
P0: Param<PCSTR>,
pub unsafe fn RemoveSymbolByIndex(&self, index: u32) -> Result<()>
pub unsafe fn GetSymbolName( &self, index: u32, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>, ) -> Result<()>
pub unsafe fn GetSymbolParameters( &self, start: u32, params: &mut [DEBUG_SYMBOL_PARAMETERS], ) -> Result<()>
pub unsafe fn ExpandSymbol(&self, index: u32, expand: bool) -> Result<()>
pub unsafe fn OutputSymbols( &self, outputcontrol: u32, flags: u32, start: u32, count: u32, ) -> Result<()>
pub unsafe fn WriteSymbol<P1>(&self, index: u32, value: P1) -> Result<()>where
P1: Param<PCSTR>,
pub unsafe fn OutputAsType<P1>(&self, index: u32, type: P1) -> Result<()>where
P1: Param<PCSTR>,
pub unsafe fn AddSymbolWide<P0>(&self, name: P0, index: *mut u32) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn RemoveSymbolByNameWide<P0>(&self, name: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetSymbolNameWide( &self, index: u32, buffer: Option<&mut [u16]>, namesize: Option<*mut u32>, ) -> Result<()>
pub unsafe fn WriteSymbolWide<P1>(&self, index: u32, value: P1) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn OutputAsTypeWide<P1>(&self, index: u32, type: P1) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn GetSymbolTypeName( &self, index: u32, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>, ) -> Result<()>
pub unsafe fn GetSymbolTypeNameWide( &self, index: u32, buffer: Option<&mut [u16]>, namesize: Option<*mut u32>, ) -> Result<()>
pub unsafe fn GetSymbolSize(&self, index: u32) -> Result<u32>
pub unsafe fn GetSymbolOffset(&self, index: u32) -> Result<u64>
pub unsafe fn GetSymbolRegister(&self, index: u32) -> Result<u32>
pub unsafe fn GetSymbolValueText( &self, index: u32, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>, ) -> Result<()>
pub unsafe fn GetSymbolValueTextWide( &self, index: u32, buffer: Option<&mut [u16]>, namesize: Option<*mut u32>, ) -> Result<()>
pub unsafe fn GetSymbolEntryInformation( &self, index: u32, entry: *mut DEBUG_SYMBOL_ENTRY, ) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IDebugSymbolGroup2
impl CanInto<IUnknown> for IDebugSymbolGroup2
§impl Clone for IDebugSymbolGroup2
impl Clone for IDebugSymbolGroup2
§fn clone(&self) -> IDebugSymbolGroup2
fn clone(&self) -> IDebugSymbolGroup2
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 IDebugSymbolGroup2
impl Debug for IDebugSymbolGroup2
§impl From<&IDebugSymbolGroup2> for &IUnknown
impl From<&IDebugSymbolGroup2> for &IUnknown
§fn from(value: &IDebugSymbolGroup2) -> Self
fn from(value: &IDebugSymbolGroup2) -> Self
Converts to this type from the input type.
§impl From<IDebugSymbolGroup2> for IUnknown
impl From<IDebugSymbolGroup2> for IUnknown
§fn from(value: IDebugSymbolGroup2) -> Self
fn from(value: IDebugSymbolGroup2) -> Self
Converts to this type from the input type.
§impl Interface for IDebugSymbolGroup2
impl Interface for IDebugSymbolGroup2
§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 IDebugSymbolGroup2
impl PartialEq for IDebugSymbolGroup2
impl Eq for IDebugSymbolGroup2
impl StructuralPartialEq for IDebugSymbolGroup2
Auto Trait Implementations§
impl Freeze for IDebugSymbolGroup2
impl RefUnwindSafe for IDebugSymbolGroup2
impl !Send for IDebugSymbolGroup2
impl !Sync for IDebugSymbolGroup2
impl Unpin for IDebugSymbolGroup2
impl UnwindSafe for IDebugSymbolGroup2
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