Struct abxml::visitor::XmlVisitor
source · pub struct XmlVisitor<'a> { /* private fields */ }
Implementations
sourceimpl<'a> XmlVisitor<'a>
impl<'a> XmlVisitor<'a>
pub fn new(resources: &'a Resources<'a>) -> Self
pub fn get_namespaces(&self) -> &Namespaces
pub fn get_root(&self) -> &Option<Element>
pub fn get_string_table(
&self
) -> &Option<StringTableCache<StringTableWrapper<'a>>>
pub fn get_resources(&self) -> &Vec<u32>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn arsc(&self) -> &Resources<'_>
pub fn into_string(self) -> Result<String, Error>
Trait Implementations
sourceimpl<'a> ChunkVisitor<'a> for XmlVisitor<'a>
impl<'a> ChunkVisitor<'a> for XmlVisitor<'a>
fn visit_string_table(&mut self, string_table: StringTableWrapper<'a>, _: Origin)
fn visit_xml_namespace_start(
&mut self,
namespace_start: XmlNamespaceStartWrapper<'a>
)
fn visit_xml_tag_start(&mut self, tag_start: XmlTagStartWrapper<'a>)
fn visit_xml_tag_end(&mut self, _: XmlTagEndWrapper<'a>)
fn visit_xml_namespace_end(&mut self, _: XmlNamespaceEndWrapper<'a>)
fn visit_resource(&mut self, resource: ResourceWrapper<'a>)
fn visit_package(&mut self, _package: PackageWrapper<'a>)
fn visit_table_type(&mut self, _table_type: TableTypeWrapper<'a>)
fn visit_type_spec(&mut self, _type_spec: TypeSpecWrapper<'a>)
fn visit_xml_text(&mut self, _text: XmlTextWrapper<'a>)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for XmlVisitor<'a>
impl<'a> !Send for XmlVisitor<'a>
impl<'a> !Sync for XmlVisitor<'a>
impl<'a> Unpin for XmlVisitor<'a>
impl<'a> !UnwindSafe for XmlVisitor<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more