#[repr(transparent)]pub struct VectorChangedEventHandler<T>(pub IUnknown, _)
where
T: RuntimeType + 'static;Expand description
Required features: "Foundation_Collections"
Tuple Fields§
§0: IUnknownImplementations§
§impl<T> VectorChangedEventHandler<T>where
T: RuntimeType + 'static,
impl<T> VectorChangedEventHandler<T>where T: RuntimeType + 'static,
pub fn new<F>(invoke: F) -> VectorChangedEventHandler<T>where F: FnMut(Option<&IObservableVector<T>>, Option<&IVectorChangedEventArgs>) -> Result<(), Error> + Send + 'static,
pub fn Invoke<P0, P1>(&self, sender: P0, event: P1) -> Result<(), Error>where P0: TryIntoParam<IObservableVector<T>>, P1: TryIntoParam<IVectorChangedEventArgs>,
Trait Implementations§
§impl<T> Clone for VectorChangedEventHandler<T>where
T: RuntimeType + 'static,
impl<T> Clone for VectorChangedEventHandler<T>where T: RuntimeType + 'static,
§fn clone(&self) -> VectorChangedEventHandler<T>
fn clone(&self) -> VectorChangedEventHandler<T>
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<T> ComInterface for VectorChangedEventHandler<T>where
T: RuntimeType + 'static,
impl<T> ComInterface for VectorChangedEventHandler<T>where T: RuntimeType + 'static,
fn as_unknown(&self) -> &IUnknown
§impl<T> Debug for VectorChangedEventHandler<T>where
T: RuntimeType + 'static,
impl<T> Debug for VectorChangedEventHandler<T>where T: RuntimeType + 'static,
§impl<T> Interface for VectorChangedEventHandler<T>where
T: RuntimeType + 'static,
impl<T> Interface for VectorChangedEventHandler<T>where T: RuntimeType + 'static,
type Vtable = VectorChangedEventHandler_Vtbl<T>
§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.
§impl<T> PartialEq<VectorChangedEventHandler<T>> for VectorChangedEventHandler<T>where
T: RuntimeType + 'static,
impl<T> PartialEq<VectorChangedEventHandler<T>> for VectorChangedEventHandler<T>where T: RuntimeType + 'static,
§fn eq(&self, other: &VectorChangedEventHandler<T>) -> bool
fn eq(&self, other: &VectorChangedEventHandler<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<T> Eq for VectorChangedEventHandler<T>where T: RuntimeType + 'static,
Auto Trait Implementations§
impl<T> RefUnwindSafe for VectorChangedEventHandler<T>where T: RefUnwindSafe,
impl<T> !Send for VectorChangedEventHandler<T>
impl<T> !Sync for VectorChangedEventHandler<T>
impl<T> Unpin for VectorChangedEventHandler<T>where T: Unpin,
impl<T> UnwindSafe for VectorChangedEventHandler<T>where T: UnwindSafe,
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