Trait IXmlWriter_Impl
pub trait IXmlWriter_Impl: IUnknownImpl {
Show 29 methods
// Required methods
fn SetOutput(&self, poutput: Ref<'_, IUnknown>) -> Result<()>;
fn GetProperty(&self, nproperty: u32) -> Result<isize>;
fn SetProperty(&self, nproperty: u32, pvalue: isize) -> Result<()>;
fn WriteAttributes(
&self,
preader: Ref<'_, IXmlReader>,
fwritedefaultattributes: BOOL,
) -> Result<()>;
fn WriteAttributeString(
&self,
pwszprefix: &PCWSTR,
pwszlocalname: &PCWSTR,
pwsznamespaceuri: &PCWSTR,
pwszvalue: &PCWSTR,
) -> Result<()>;
fn WriteCData(&self, pwsztext: &PCWSTR) -> Result<()>;
fn WriteCharEntity(&self, wch: u16) -> Result<()>;
fn WriteChars(&self, pwch: &PCWSTR, cwch: u32) -> Result<()>;
fn WriteComment(&self, pwszcomment: &PCWSTR) -> Result<()>;
fn WriteDocType(
&self,
pwszname: &PCWSTR,
pwszpublicid: &PCWSTR,
pwszsystemid: &PCWSTR,
pwszsubset: &PCWSTR,
) -> Result<()>;
fn WriteElementString(
&self,
pwszprefix: &PCWSTR,
pwszlocalname: &PCWSTR,
pwsznamespaceuri: &PCWSTR,
pwszvalue: &PCWSTR,
) -> Result<()>;
fn WriteEndDocument(&self) -> Result<()>;
fn WriteEndElement(&self) -> Result<()>;
fn WriteEntityRef(&self, pwszname: &PCWSTR) -> Result<()>;
fn WriteFullEndElement(&self) -> Result<()>;
fn WriteName(&self, pwszname: &PCWSTR) -> Result<()>;
fn WriteNmToken(&self, pwsznmtoken: &PCWSTR) -> Result<()>;
fn WriteNode(
&self,
preader: Ref<'_, IXmlReader>,
fwritedefaultattributes: BOOL,
) -> Result<()>;
fn WriteNodeShallow(
&self,
preader: Ref<'_, IXmlReader>,
fwritedefaultattributes: BOOL,
) -> Result<()>;
fn WriteProcessingInstruction(
&self,
pwszname: &PCWSTR,
pwsztext: &PCWSTR,
) -> Result<()>;
fn WriteQualifiedName(
&self,
pwszlocalname: &PCWSTR,
pwsznamespaceuri: &PCWSTR,
) -> Result<()>;
fn WriteRaw(&self, pwszdata: &PCWSTR) -> Result<()>;
fn WriteRawChars(&self, pwch: &PCWSTR, cwch: u32) -> Result<()>;
fn WriteStartDocument(&self, standalone: XmlStandalone) -> Result<()>;
fn WriteStartElement(
&self,
pwszprefix: &PCWSTR,
pwszlocalname: &PCWSTR,
pwsznamespaceuri: &PCWSTR,
) -> Result<()>;
fn WriteString(&self, pwsztext: &PCWSTR) -> Result<()>;
fn WriteSurrogateCharEntity(&self, wchlow: u16, wchhigh: u16) -> Result<()>;
fn WriteWhitespace(&self, pwszwhitespace: &PCWSTR) -> Result<()>;
fn Flush(&self) -> Result<()>;
}
Required Methods§
fn SetOutput(&self, poutput: Ref<'_, IUnknown>) -> Result<()>
fn GetProperty(&self, nproperty: u32) -> Result<isize>
fn SetProperty(&self, nproperty: u32, pvalue: isize) -> Result<()>
fn WriteAttributes( &self, preader: Ref<'_, IXmlReader>, fwritedefaultattributes: BOOL, ) -> Result<()>
fn WriteAttributeString( &self, pwszprefix: &PCWSTR, pwszlocalname: &PCWSTR, pwsznamespaceuri: &PCWSTR, pwszvalue: &PCWSTR, ) -> Result<()>
fn WriteCData(&self, pwsztext: &PCWSTR) -> Result<()>
fn WriteCharEntity(&self, wch: u16) -> Result<()>
fn WriteChars(&self, pwch: &PCWSTR, cwch: u32) -> Result<()>
fn WriteComment(&self, pwszcomment: &PCWSTR) -> Result<()>
fn WriteDocType( &self, pwszname: &PCWSTR, pwszpublicid: &PCWSTR, pwszsystemid: &PCWSTR, pwszsubset: &PCWSTR, ) -> Result<()>
fn WriteElementString( &self, pwszprefix: &PCWSTR, pwszlocalname: &PCWSTR, pwsznamespaceuri: &PCWSTR, pwszvalue: &PCWSTR, ) -> Result<()>
fn WriteEndDocument(&self) -> Result<()>
fn WriteEndElement(&self) -> Result<()>
fn WriteEntityRef(&self, pwszname: &PCWSTR) -> Result<()>
fn WriteFullEndElement(&self) -> Result<()>
fn WriteName(&self, pwszname: &PCWSTR) -> Result<()>
fn WriteNmToken(&self, pwsznmtoken: &PCWSTR) -> Result<()>
fn WriteNode( &self, preader: Ref<'_, IXmlReader>, fwritedefaultattributes: BOOL, ) -> Result<()>
fn WriteNodeShallow( &self, preader: Ref<'_, IXmlReader>, fwritedefaultattributes: BOOL, ) -> Result<()>
fn WriteProcessingInstruction( &self, pwszname: &PCWSTR, pwsztext: &PCWSTR, ) -> Result<()>
fn WriteQualifiedName( &self, pwszlocalname: &PCWSTR, pwsznamespaceuri: &PCWSTR, ) -> Result<()>
fn WriteRaw(&self, pwszdata: &PCWSTR) -> Result<()>
fn WriteRawChars(&self, pwch: &PCWSTR, cwch: u32) -> Result<()>
fn WriteStartDocument(&self, standalone: XmlStandalone) -> Result<()>
fn WriteStartElement( &self, pwszprefix: &PCWSTR, pwszlocalname: &PCWSTR, pwsznamespaceuri: &PCWSTR, ) -> Result<()>
fn WriteString(&self, pwsztext: &PCWSTR) -> Result<()>
fn WriteSurrogateCharEntity(&self, wchlow: u16, wchhigh: u16) -> Result<()>
fn WriteWhitespace(&self, pwszwhitespace: &PCWSTR) -> Result<()>
fn Flush(&self) -> 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.