pub struct IMXAttributes(/* private fields */);
Implementations§
§impl IMXAttributes
impl IMXAttributes
pub unsafe fn addAttribute<P0, P1, P2, P3, P4>( &self, struri: P0, strlocalname: P1, strqname: P2, strtype: P3, strvalue: P4 ) -> Result<()>
pub unsafe fn addAttributeFromIndex<P0>(
&self,
varatts: P0,
nindex: i32
) -> Result<()>where
P0: IntoParam<VARIANT>,
pub unsafe fn clear(&self) -> Result<()>
pub unsafe fn removeAttribute(&self, nindex: i32) -> Result<()>
pub unsafe fn setAttribute<P0, P1, P2, P3, P4>( &self, nindex: i32, struri: P0, strlocalname: P1, strqname: P2, strtype: P3, strvalue: P4 ) -> Result<()>
pub unsafe fn setAttributes<P0>(&self, varatts: P0) -> Result<()>where
P0: IntoParam<VARIANT>,
pub unsafe fn setLocalName<P0>(
&self,
nindex: i32,
strlocalname: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn setQName<P0>(&self, nindex: i32, strqname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn setType<P0>(&self, nindex: i32, strtype: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn setURI<P0>(&self, nindex: i32, struri: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn setValue<P0>(&self, nindex: i32, strvalue: P0) -> Result<()>where
P0: IntoParam<BSTR>,
Trait Implementations§
§impl Clone for IMXAttributes
impl Clone for IMXAttributes
§fn clone(&self) -> IMXAttributes
fn clone(&self) -> IMXAttributes
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 IMXAttributes
impl Debug for IMXAttributes
§impl From<&IMXAttributes> for &IDispatch
impl From<&IMXAttributes> for &IDispatch
§fn from(value: &IMXAttributes) -> Self
fn from(value: &IMXAttributes) -> Self
Converts to this type from the input type.
§impl From<&IMXAttributes> for &IUnknown
impl From<&IMXAttributes> for &IUnknown
§fn from(value: &IMXAttributes) -> Self
fn from(value: &IMXAttributes) -> Self
Converts to this type from the input type.
§impl From<IMXAttributes> for IDispatch
impl From<IMXAttributes> for IDispatch
§fn from(value: IMXAttributes) -> Self
fn from(value: IMXAttributes) -> Self
Converts to this type from the input type.
§impl From<IMXAttributes> for IUnknown
impl From<IMXAttributes> for IUnknown
§fn from(value: IMXAttributes) -> Self
fn from(value: IMXAttributes) -> Self
Converts to this type from the input type.
§impl Interface for IMXAttributes
impl Interface for IMXAttributes
§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.
§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§impl PartialEq for IMXAttributes
impl PartialEq for IMXAttributes
§fn eq(&self, other: &IMXAttributes) -> bool
fn eq(&self, other: &IMXAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMXAttributes
impl StructuralPartialEq for IMXAttributes
Auto Trait Implementations§
impl RefUnwindSafe for IMXAttributes
impl !Send for IMXAttributes
impl !Sync for IMXAttributes
impl Unpin for IMXAttributes
impl UnwindSafe for IMXAttributes
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