pub struct IXmlReader(/* private fields */);
Implementations§
§impl IXmlReader
impl IXmlReader
pub unsafe fn SetInput<P0>(&self, pinput: P0) -> Result<()>where
P0: IntoParam<IUnknown>,
pub unsafe fn GetProperty(&self, nproperty: u32) -> Result<isize>
pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> Result<()>
pub unsafe fn Read(&self, pnodetype: Option<*mut XmlNodeType>) -> HRESULT
pub unsafe fn GetNodeType(&self) -> Result<XmlNodeType>
pub unsafe fn MoveToFirstAttribute(&self) -> HRESULT
pub unsafe fn MoveToNextAttribute(&self) -> HRESULT
pub unsafe fn MoveToAttributeByName<P0, P1>( &self, pwszlocalname: P0, pwsznamespaceuri: P1 ) -> HRESULT
pub unsafe fn MoveToElement(&self) -> Result<()>
pub unsafe fn GetQualifiedName( &self, ppwszqualifiedname: *mut PCWSTR, pcwchqualifiedname: Option<*mut u32> ) -> Result<()>
pub unsafe fn GetNamespaceUri( &self, ppwsznamespaceuri: *mut PCWSTR, pcwchnamespaceuri: Option<*mut u32> ) -> Result<()>
pub unsafe fn GetLocalName( &self, ppwszlocalname: *mut PCWSTR, pcwchlocalname: Option<*mut u32> ) -> Result<()>
pub unsafe fn GetPrefix( &self, ppwszprefix: *mut PCWSTR, pcwchprefix: Option<*mut u32> ) -> Result<()>
pub unsafe fn GetValue( &self, ppwszvalue: *mut PCWSTR, pcwchvalue: Option<*mut u32> ) -> Result<()>
pub unsafe fn ReadValueChunk( &self, pwchbuffer: &mut [u16], pcwchread: *mut u32 ) -> HRESULT
pub unsafe fn GetBaseUri( &self, ppwszbaseuri: *mut PCWSTR, pcwchbaseuri: Option<*mut u32> ) -> Result<()>
pub unsafe fn IsDefault(&self) -> BOOL
pub unsafe fn IsEmptyElement(&self) -> BOOL
pub unsafe fn GetLineNumber(&self) -> Result<u32>
pub unsafe fn GetLinePosition(&self) -> Result<u32>
pub unsafe fn GetAttributeCount(&self) -> Result<u32>
pub unsafe fn GetDepth(&self) -> Result<u32>
pub unsafe fn IsEOF(&self) -> BOOL
Trait Implementations§
§impl Clone for IXmlReader
impl Clone for IXmlReader
§fn clone(&self) -> IXmlReader
fn clone(&self) -> IXmlReader
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 IXmlReader
impl Debug for IXmlReader
§impl From<&IXmlReader> for &IUnknown
impl From<&IXmlReader> for &IUnknown
§fn from(value: &IXmlReader) -> Self
fn from(value: &IXmlReader) -> Self
Converts to this type from the input type.
§impl From<IXmlReader> for IUnknown
impl From<IXmlReader> for IUnknown
§fn from(value: IXmlReader) -> Self
fn from(value: IXmlReader) -> Self
Converts to this type from the input type.
§impl Interface for IXmlReader
impl Interface for IXmlReader
§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 IXmlReader
impl PartialEq for IXmlReader
§fn eq(&self, other: &IXmlReader) -> bool
fn eq(&self, other: &IXmlReader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IXmlReader
impl StructuralPartialEq for IXmlReader
Auto Trait Implementations§
impl RefUnwindSafe for IXmlReader
impl !Send for IXmlReader
impl !Sync for IXmlReader
impl Unpin for IXmlReader
impl UnwindSafe for IXmlReader
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