pub struct Axml { /* private fields */ }
Expand description
Representation of the whole XML document
Implementations§
Source§impl Axml
impl Axml
Sourcepub fn write_to_file(&self, file: &mut File) -> Result<(), AxmlError>
pub fn write_to_file(&self, file: &mut File) -> Result<(), AxmlError>
Write the whole parsed XML to a file
Sourcepub fn to_string(&self) -> Result<String, AxmlError>
pub fn to_string(&self) -> Result<String, AxmlError>
Convert the whole parsed XML into a string
Sourcepub fn iter(&self) -> AxmlIterator ⓘ
pub fn iter(&self) -> AxmlIterator ⓘ
Returns a non-consuming iterator over the AXML doc elements
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Axml
impl !RefUnwindSafe for Axml
impl !Send for Axml
impl !Sync for Axml
impl Unpin for Axml
impl !UnwindSafe for Axml
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