Struct IRowsetUpdate
pub struct IRowsetUpdate(/* private fields */);
Implementations§
§impl IRowsetUpdate
impl IRowsetUpdate
pub unsafe fn GetOriginalData( &self, hrow: usize, haccessor: HACCESSOR, pdata: *mut c_void, ) -> Result<()>
pub unsafe fn GetPendingRows( &self, hreserved: usize, dwrowstatus: u32, pcpendingrows: *mut usize, prgpendingrows: *mut *mut usize, prgpendingstatus: *mut *mut u32, ) -> Result<()>
pub unsafe fn GetRowStatus( &self, hreserved: usize, crows: usize, rghrows: *const usize, rgpendingstatus: *mut u32, ) -> Result<()>
pub unsafe fn Undo( &self, hreserved: usize, rghrows: &[usize], pcrowsundone: *mut usize, prgrowsundone: *mut *mut usize, prgrowstatus: *mut *mut u32, ) -> Result<()>
pub unsafe fn Update( &self, hreserved: usize, rghrows: &[usize], pcrows: *mut usize, prgrows: *mut *mut usize, prgrowstatus: *mut *mut u32, ) -> Result<()>
Methods from Deref<Target = IRowsetChange>§
pub unsafe fn DeleteRows( &self, hreserved: usize, crows: usize, rghrows: *const usize, rgrowstatus: *mut u32, ) -> Result<()>
pub unsafe fn SetData( &self, hrow: usize, haccessor: HACCESSOR, pdata: *const c_void, ) -> Result<()>
pub unsafe fn InsertRow( &self, hreserved: usize, haccessor: HACCESSOR, pdata: *const c_void, ) -> Result<usize>
Trait Implementations§
§impl CanInto<IRowsetChange> for IRowsetUpdate
impl CanInto<IRowsetChange> for IRowsetUpdate
§impl CanInto<IUnknown> for IRowsetUpdate
impl CanInto<IUnknown> for IRowsetUpdate
§impl Clone for IRowsetUpdate
impl Clone for IRowsetUpdate
§fn clone(&self) -> IRowsetUpdate
fn clone(&self) -> IRowsetUpdate
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 IRowsetUpdate
impl Debug for IRowsetUpdate
§impl Deref for IRowsetUpdate
impl Deref for IRowsetUpdate
§impl From<&IRowsetUpdate> for &IRowsetChange
impl From<&IRowsetUpdate> for &IRowsetChange
§fn from(value: &IRowsetUpdate) -> Self
fn from(value: &IRowsetUpdate) -> Self
Converts to this type from the input type.
§impl From<&IRowsetUpdate> for &IUnknown
impl From<&IRowsetUpdate> for &IUnknown
§fn from(value: &IRowsetUpdate) -> Self
fn from(value: &IRowsetUpdate) -> Self
Converts to this type from the input type.
§impl From<IRowsetUpdate> for IRowsetChange
impl From<IRowsetUpdate> for IRowsetChange
§fn from(value: IRowsetUpdate) -> Self
fn from(value: IRowsetUpdate) -> Self
Converts to this type from the input type.
§impl From<IRowsetUpdate> for IUnknown
impl From<IRowsetUpdate> for IUnknown
§fn from(value: IRowsetUpdate) -> Self
fn from(value: IRowsetUpdate) -> Self
Converts to this type from the input type.
§impl Interface for IRowsetUpdate
impl Interface for IRowsetUpdate
§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 IRowsetUpdate
impl PartialEq for IRowsetUpdate
impl Eq for IRowsetUpdate
impl StructuralPartialEq for IRowsetUpdate
Auto Trait Implementations§
impl Freeze for IRowsetUpdate
impl RefUnwindSafe for IRowsetUpdate
impl !Send for IRowsetUpdate
impl !Sync for IRowsetUpdate
impl Unpin for IRowsetUpdate
impl UnwindSafe for IRowsetUpdate
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