Struct IDebugDocumentHelper32
pub struct IDebugDocumentHelper32(/* private fields */);
Implementations§
§impl IDebugDocumentHelper32
impl IDebugDocumentHelper32
pub unsafe fn Init<P0, P1, P2>(
&self,
pda: P0,
pszshortname: P1,
pszlongname: P2,
docattr: u32,
) -> Result<()>where
P0: Param<IDebugApplication32>,
P1: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn Attach<P0>(&self, pddhparent: P0) -> Result<()>where
P0: Param<IDebugDocumentHelper32>,
pub unsafe fn Detach(&self) -> Result<()>
pub unsafe fn AddUnicodeText<P0>(&self, psztext: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn AddDBCSText<P0>(&self, psztext: P0) -> Result<()>where
P0: Param<PCSTR>,
pub unsafe fn SetDebugDocumentHost<P0>(&self, pddh: P0) -> Result<()>where
P0: Param<IDebugDocumentHost>,
pub unsafe fn AddDeferredText( &self, cchars: u32, dwtextstartcookie: u32, ) -> Result<()>
pub unsafe fn DefineScriptBlock<P2>(
&self,
ulcharoffset: u32,
cchars: u32,
pas: P2,
fscriptlet: bool,
) -> Result<u32>where
P2: Param<IActiveScript>,
pub unsafe fn SetDefaultTextAttr(&self, statextattr: u16) -> Result<()>
pub unsafe fn SetTextAttributes( &self, ulcharoffset: u32, pstatextattr: &[u16], ) -> Result<()>
pub unsafe fn SetLongName<P0>(&self, pszlongname: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SetShortName<P0>(&self, pszshortname: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SetDocumentAttr(&self, pszattributes: u32) -> Result<()>
pub unsafe fn GetDebugApplicationNode(&self) -> Result<IDebugApplicationNode>
pub unsafe fn GetScriptBlockInfo( &self, dwsourcecontext: u32, ppasd: *mut Option<IActiveScript>, picharpos: *mut u32, pcchars: *mut u32, ) -> Result<()>
pub unsafe fn CreateDebugDocumentContext( &self, icharpos: u32, cchars: u32, ) -> Result<IDebugDocumentContext>
pub unsafe fn BringDocumentToTop(&self) -> Result<()>
pub unsafe fn BringDocumentContextToTop<P0>(&self, pddc: P0) -> Result<()>where
P0: Param<IDebugDocumentContext>,
Trait Implementations§
§impl CanInto<IUnknown> for IDebugDocumentHelper32
impl CanInto<IUnknown> for IDebugDocumentHelper32
§impl Clone for IDebugDocumentHelper32
impl Clone for IDebugDocumentHelper32
§fn clone(&self) -> IDebugDocumentHelper32
fn clone(&self) -> IDebugDocumentHelper32
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 IDebugDocumentHelper32
impl Debug for IDebugDocumentHelper32
§impl From<&IDebugDocumentHelper32> for &IUnknown
impl From<&IDebugDocumentHelper32> for &IUnknown
§fn from(value: &IDebugDocumentHelper32) -> Self
fn from(value: &IDebugDocumentHelper32) -> Self
Converts to this type from the input type.
§impl From<IDebugDocumentHelper32> for IUnknown
impl From<IDebugDocumentHelper32> for IUnknown
§fn from(value: IDebugDocumentHelper32) -> Self
fn from(value: IDebugDocumentHelper32) -> Self
Converts to this type from the input type.
§impl Interface for IDebugDocumentHelper32
impl Interface for IDebugDocumentHelper32
§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 IDebugDocumentHelper32
impl PartialEq for IDebugDocumentHelper32
impl Eq for IDebugDocumentHelper32
impl StructuralPartialEq for IDebugDocumentHelper32
Auto Trait Implementations§
impl Freeze for IDebugDocumentHelper32
impl RefUnwindSafe for IDebugDocumentHelper32
impl !Send for IDebugDocumentHelper32
impl !Sync for IDebugDocumentHelper32
impl Unpin for IDebugDocumentHelper32
impl UnwindSafe for IDebugDocumentHelper32
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