pub struct IVectorChangedEventArgs(/* private fields */);Implementations§
Source§impl IVectorChangedEventArgs
impl IVectorChangedEventArgs
pub fn CollectionChange(&self) -> Result<CollectionChange>
pub fn Index(&self) -> Result<u32>
Trait Implementations§
Source§impl CanInto<IInspectable> for IVectorChangedEventArgs
impl CanInto<IInspectable> for IVectorChangedEventArgs
Source§impl Clone for IVectorChangedEventArgs
impl Clone for IVectorChangedEventArgs
Source§fn clone(&self) -> IVectorChangedEventArgs
fn clone(&self) -> IVectorChangedEventArgs
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 IVectorChangedEventArgs
impl Debug for IVectorChangedEventArgs
impl Eq for IVectorChangedEventArgs
Source§impl From<&IVectorChangedEventArgs> for &IUnknown
impl From<&IVectorChangedEventArgs> for &IUnknown
Source§fn from(value: &IVectorChangedEventArgs) -> Self
fn from(value: &IVectorChangedEventArgs) -> Self
Converts to this type from the input type.
Source§impl From<&IVectorChangedEventArgs> for &IInspectable
impl From<&IVectorChangedEventArgs> for &IInspectable
Source§fn from(value: &IVectorChangedEventArgs) -> Self
fn from(value: &IVectorChangedEventArgs) -> Self
Converts to this type from the input type.
Source§impl From<IVectorChangedEventArgs> for IUnknown
impl From<IVectorChangedEventArgs> for IUnknown
Source§fn from(value: IVectorChangedEventArgs) -> Self
fn from(value: IVectorChangedEventArgs) -> Self
Converts to this type from the input type.
Source§impl From<IVectorChangedEventArgs> for IInspectable
impl From<IVectorChangedEventArgs> for IInspectable
Source§fn from(value: IVectorChangedEventArgs) -> Self
fn from(value: IVectorChangedEventArgs) -> Self
Converts to this type from the input type.
Source§impl Interface for IVectorChangedEventArgs
impl Interface for IVectorChangedEventArgs
Source§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Transfers ownership of the COM interface pointer to the caller.
Source§unsafe fn from_raw(raw: *mut c_void) -> Self
unsafe fn from_raw(raw: *mut c_void) -> Self
Takes ownership of a COM interface pointer. Read more
Source§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
Borrows a COM interface pointer. Read more
Source§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Queries the object for another interface.
Source§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>
Returns the generated outer Rust implementation as [
&dyn Any]. Read moreSource§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>
Returns a borrowed reference to the generated outer Rust implementation. Read more
Source§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>
Returns an owned reference to the generated outer Rust implementation. Read more
Source§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a
Weak reference to this object.Source§unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT
Calls
QueryInterface. Read moreSource§fn to_ref(&self) -> InterfaceRef<'_, Self>
fn to_ref(&self) -> InterfaceRef<'_, Self>
Borrows this interface without changing its reference count.
Source§impl PartialEq for IVectorChangedEventArgs
impl PartialEq for IVectorChangedEventArgs
impl StructuralPartialEq for IVectorChangedEventArgs
Auto Trait Implementations§
impl !Send for IVectorChangedEventArgs
impl !Sync for IVectorChangedEventArgs
impl Freeze for IVectorChangedEventArgs
impl RefUnwindSafe for IVectorChangedEventArgs
impl Unpin for IVectorChangedEventArgs
impl UnsafeUnpin for IVectorChangedEventArgs
impl UnwindSafe for IVectorChangedEventArgs
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