windows::Win32::Data::Xml::XmlLite

Trait IXmlWriterLite_Impl

pub trait IXmlWriterLite_Impl: IUnknownImpl {
Show 28 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, pwszqname: &PCWSTR, cwszqname: u32, pwszvalue: &PCWSTR, cwszvalue: u32, ) -> 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, pwszqname: &PCWSTR, cwszqname: u32, pwszvalue: &PCWSTR, ) -> Result<()>; fn WriteEndDocument(&self) -> Result<()>; fn WriteEndElement(&self, pwszqname: &PCWSTR, cwszqname: u32) -> Result<()>; fn WriteEntityRef(&self, pwszname: &PCWSTR) -> Result<()>; fn WriteFullEndElement( &self, pwszqname: &PCWSTR, cwszqname: u32, ) -> 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 WriteRaw(&self, pwszdata: &PCWSTR) -> Result<()>; fn WriteRawChars(&self, pwch: &PCWSTR, cwch: u32) -> Result<()>; fn WriteStartDocument(&self, standalone: XmlStandalone) -> Result<()>; fn WriteStartElement( &self, pwszqname: &PCWSTR, cwszqname: u32, ) -> 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, pwszqname: &PCWSTR, cwszqname: u32, pwszvalue: &PCWSTR, cwszvalue: u32, ) -> 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, pwszqname: &PCWSTR, cwszqname: u32, pwszvalue: &PCWSTR, ) -> Result<()>

fn WriteEndDocument(&self) -> Result<()>

fn WriteEndElement(&self, pwszqname: &PCWSTR, cwszqname: u32) -> Result<()>

fn WriteEntityRef(&self, pwszname: &PCWSTR) -> Result<()>

fn WriteFullEndElement(&self, pwszqname: &PCWSTR, cwszqname: u32) -> 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 WriteRaw(&self, pwszdata: &PCWSTR) -> Result<()>

fn WriteRawChars(&self, pwch: &PCWSTR, cwch: u32) -> Result<()>

fn WriteStartDocument(&self, standalone: XmlStandalone) -> Result<()>

fn WriteStartElement(&self, pwszqname: &PCWSTR, cwszqname: u32) -> 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.

Implementors§