Struct IScriptScriptlet
pub struct IScriptScriptlet(/* private fields */);
Implementations§
§impl IScriptScriptlet
impl IScriptScriptlet
pub unsafe fn GetSubItemName(&self) -> Result<BSTR>
pub unsafe fn SetSubItemName<P0>(&self, psz: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetEventName(&self) -> Result<BSTR>
pub unsafe fn SetEventName<P0>(&self, psz: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetSimpleEventName(&self) -> Result<BSTR>
pub unsafe fn SetSimpleEventName<P0>(&self, psz: P0) -> Result<()>where
P0: Param<PCWSTR>,
Methods from Deref<Target = IScriptEntry>§
pub unsafe fn GetText(&self) -> Result<BSTR>
pub unsafe fn SetText<P0>(&self, psz: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetBody(&self) -> Result<BSTR>
pub unsafe fn SetBody<P0>(&self, psz: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetName(&self) -> Result<BSTR>
pub unsafe fn SetName<P0>(&self, psz: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetItemName(&self) -> Result<BSTR>
pub unsafe fn SetItemName<P0>(&self, psz: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetSignature( &self, ppti: *mut Option<ITypeInfo>, pimethod: *mut u32, ) -> Result<()>
pub unsafe fn SetSignature<P0>(&self, pti: P0, imethod: u32) -> Result<()>where
P0: Param<ITypeInfo>,
pub unsafe fn GetRange(&self, pichmin: *mut u32, pcch: *mut u32) -> Result<()>
Methods from Deref<Target = IScriptNode>§
pub unsafe fn Alive(&self) -> Result<()>
pub unsafe fn Delete(&self) -> Result<()>
pub unsafe fn GetParent(&self) -> Result<IScriptNode>
pub unsafe fn GetIndexInParent(&self) -> Result<u32>
pub unsafe fn GetCookie(&self) -> Result<u32>
pub unsafe fn GetNumberOfChildren(&self) -> Result<u32>
pub unsafe fn GetChild(&self, isn: u32) -> Result<IScriptNode>
pub unsafe fn GetLanguage(&self) -> Result<BSTR>
pub unsafe fn CreateChildEntry<P2>(
&self,
isn: u32,
dwcookie: u32,
pszdelimiter: P2,
) -> Result<IScriptEntry>where
P2: Param<PCWSTR>,
pub unsafe fn CreateChildHandler<P0, P3, P4, P5>(
&self,
pszdefaultname: P0,
prgpsznames: &[PCWSTR],
pszevent: P3,
pszdelimiter: P4,
ptisignature: P5,
imethodsignature: u32,
isn: u32,
dwcookie: u32,
) -> Result<IScriptEntry>where
P0: Param<PCWSTR>,
P3: Param<PCWSTR>,
P4: Param<PCWSTR>,
P5: Param<ITypeInfo>,
Trait Implementations§
§impl CanInto<IScriptEntry> for IScriptScriptlet
impl CanInto<IScriptEntry> for IScriptScriptlet
§impl CanInto<IScriptNode> for IScriptScriptlet
impl CanInto<IScriptNode> for IScriptScriptlet
§impl CanInto<IUnknown> for IScriptScriptlet
impl CanInto<IUnknown> for IScriptScriptlet
§impl Clone for IScriptScriptlet
impl Clone for IScriptScriptlet
§fn clone(&self) -> IScriptScriptlet
fn clone(&self) -> IScriptScriptlet
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 IScriptScriptlet
impl Debug for IScriptScriptlet
§impl Deref for IScriptScriptlet
impl Deref for IScriptScriptlet
§impl From<&IScriptScriptlet> for &IScriptEntry
impl From<&IScriptScriptlet> for &IScriptEntry
§fn from(value: &IScriptScriptlet) -> Self
fn from(value: &IScriptScriptlet) -> Self
Converts to this type from the input type.
§impl From<&IScriptScriptlet> for &IScriptNode
impl From<&IScriptScriptlet> for &IScriptNode
§fn from(value: &IScriptScriptlet) -> Self
fn from(value: &IScriptScriptlet) -> Self
Converts to this type from the input type.
§impl From<&IScriptScriptlet> for &IUnknown
impl From<&IScriptScriptlet> for &IUnknown
§fn from(value: &IScriptScriptlet) -> Self
fn from(value: &IScriptScriptlet) -> Self
Converts to this type from the input type.
§impl From<IScriptScriptlet> for IScriptEntry
impl From<IScriptScriptlet> for IScriptEntry
§fn from(value: IScriptScriptlet) -> Self
fn from(value: IScriptScriptlet) -> Self
Converts to this type from the input type.
§impl From<IScriptScriptlet> for IScriptNode
impl From<IScriptScriptlet> for IScriptNode
§fn from(value: IScriptScriptlet) -> Self
fn from(value: IScriptScriptlet) -> Self
Converts to this type from the input type.
§impl From<IScriptScriptlet> for IUnknown
impl From<IScriptScriptlet> for IUnknown
§fn from(value: IScriptScriptlet) -> Self
fn from(value: IScriptScriptlet) -> Self
Converts to this type from the input type.
§impl Interface for IScriptScriptlet
impl Interface for IScriptScriptlet
§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 IScriptScriptlet
impl PartialEq for IScriptScriptlet
impl Eq for IScriptScriptlet
impl StructuralPartialEq for IScriptScriptlet
Auto Trait Implementations§
impl Freeze for IScriptScriptlet
impl RefUnwindSafe for IScriptScriptlet
impl !Send for IScriptScriptlet
impl !Sync for IScriptScriptlet
impl Unpin for IScriptScriptlet
impl UnwindSafe for IScriptScriptlet
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