Trait IXMLElement_Impl
pub trait IXMLElement_Impl: IDispatch_Impl {
// Required methods
fn tagName(&self) -> Result<BSTR>;
fn SettagName(&self, p: &BSTR) -> Result<()>;
fn parent(&self) -> Result<IXMLElement>;
fn setAttribute(
&self,
strpropertyname: &BSTR,
propertyvalue: &VARIANT,
) -> Result<()>;
fn getAttribute(&self, strpropertyname: &BSTR) -> Result<VARIANT>;
fn removeAttribute(&self, strpropertyname: &BSTR) -> Result<()>;
fn children(&self) -> Result<IXMLElementCollection>;
fn type(&self) -> Result<i32>;
fn text(&self) -> Result<BSTR>;
fn Settext(&self, p: &BSTR) -> Result<()>;
fn addChild(
&self,
pchildelem: Ref<'_, IXMLElement>,
lindex: i32,
lreserved: i32,
) -> Result<()>;
fn removeChild(&self, pchildelem: Ref<'_, IXMLElement>) -> Result<()>;
}
Required Methods§
fn tagName(&self) -> Result<BSTR>
fn SettagName(&self, p: &BSTR) -> Result<()>
fn parent(&self) -> Result<IXMLElement>
fn setAttribute( &self, strpropertyname: &BSTR, propertyvalue: &VARIANT, ) -> Result<()>
fn getAttribute(&self, strpropertyname: &BSTR) -> Result<VARIANT>
fn removeAttribute(&self, strpropertyname: &BSTR) -> Result<()>
fn children(&self) -> Result<IXMLElementCollection>
fn type(&self) -> Result<i32>
fn text(&self) -> Result<BSTR>
fn Settext(&self, p: &BSTR) -> Result<()>
fn addChild( &self, pchildelem: Ref<'_, IXMLElement>, lindex: i32, lreserved: i32, ) -> Result<()>
fn removeChild(&self, pchildelem: Ref<'_, IXMLElement>) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.