pub struct ComDispatch(/* private fields */);Expand description
A live COM object addressed through its IDispatch interface.
Implementations§
Source§impl ComDispatch
impl ComDispatch
Trait Implementations§
Source§impl Clone for ComDispatch
impl Clone for ComDispatch
Source§fn clone(&self) -> ComDispatch
fn clone(&self) -> ComDispatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComDispatch
impl Debug for ComDispatch
Source§impl Dispatch for ComDispatch
impl Dispatch for ComDispatch
Source§fn duplicate(&self) -> Option<Box<dyn Dispatch>>
fn duplicate(&self) -> Option<Box<dyn Dispatch>>
An owned handle to the same COM object, when there is one. Read more
Source§fn as_idispatch(&self) -> Option<&IDispatch>
fn as_idispatch(&self) -> Option<&IDispatch>
The underlying
IDispatch, when this really is a live COM object. Read moreSource§fn get(&self, dispid: i32) -> Result<Value, ComError>
fn get(&self, dispid: i32) -> Result<Value, ComError>
Reads a property by dispatch id (
DISPATCH_PROPERTYGET, no arguments). Read moreAuto Trait Implementations§
impl !Send for ComDispatch
impl !Sync for ComDispatch
impl Freeze for ComDispatch
impl RefUnwindSafe for ComDispatch
impl Unpin for ComDispatch
impl UnsafeUnpin for ComDispatch
impl UnwindSafe for ComDispatch
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