pub struct XmlTextReader { /* private fields */ }Expand description
xmlTextReader.
Implementations§
Source§impl XmlTextReader
impl XmlTextReader
Sourcepub fn xml_reader_for_memory(
buffer: &[u8],
url: Option<&str>,
encoding: Option<&str>,
options: i32,
) -> Result<Self, XmlError>
pub fn xml_reader_for_memory( buffer: &[u8], url: Option<&str>, encoding: Option<&str>, options: i32, ) -> Result<Self, XmlError>
xmlReaderForMemory.
Sourcepub fn xml_reader_walker(doc: XmlDoc) -> Self
pub fn xml_reader_walker(doc: XmlDoc) -> Self
xmlReaderWalker.
pub fn node_type(&self) -> ReaderType
pub fn depth(&self) -> i32
pub fn is_empty_element(&self) -> bool
pub fn local_name(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
pub fn namespace_uri(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
pub fn name(&self) -> Option<String>
pub fn attribute_count(&self) -> i32
pub fn has_attributes(&self) -> bool
Sourcepub fn get_attribute(&self, name: &str) -> Option<String>
pub fn get_attribute(&self, name: &str) -> Option<String>
xmlTextReaderGetAttribute.
Sourcepub fn move_to_first_attribute(&mut self) -> i32
pub fn move_to_first_attribute(&mut self) -> i32
xmlTextReaderMoveToFirstAttribute.
Sourcepub fn move_to_next_attribute(&mut self) -> i32
pub fn move_to_next_attribute(&mut self) -> i32
xmlTextReaderMoveToNextAttribute.
Sourcepub fn move_to_element(&mut self) -> i32
pub fn move_to_element(&mut self) -> i32
xmlTextReaderMoveToElement.
pub fn doc(&self) -> &XmlDoc
Auto Trait Implementations§
impl Freeze for XmlTextReader
impl RefUnwindSafe for XmlTextReader
impl Send for XmlTextReader
impl Sync for XmlTextReader
impl Unpin for XmlTextReader
impl UnsafeUnpin for XmlTextReader
impl UnwindSafe for XmlTextReader
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