[−][src]Struct abxml::chunks::xml::XmlTagStartWrapper
Contains a reference to the whole buffer and the chunk header of a TagStart
Fields
raw_data: &'a [u8]
Methods
impl<'a> XmlTagStartWrapper<'a>
[src]
pub fn new(raw_data: &'a [u8]) -> Self
[src]
Creates a new XmlTagStartWrapper
pub fn to_buffer(&self) -> Result<XmlTagStartBuf, Error>
[src]
It converts the wrapper into a XmlTagStartBuf
which can be later manipulated
Trait Implementations
impl<'a> TagStart for XmlTagStartWrapper<'a>
[src]
type Attribute = AttributeWrapper<'a>
Type of the attributes
fn get_line(&self) -> Result<u32, Error>
[src]
fn get_field1(&self) -> Result<u32, Error>
[src]
fn get_namespace_index(&self) -> Result<u32, Error>
[src]
fn get_element_name_index(&self) -> Result<u32, Error>
[src]
fn get_field2(&self) -> Result<u32, Error>
[src]
fn get_attributes_amount(&self) -> Result<u32, Error>
[src]
fn get_class(&self) -> Result<u32, Error>
[src]
fn get_attribute(&self, index: u32) -> Result<Self::Attribute, Error>
[src]
impl<'a> Debug for XmlTagStartWrapper<'a>
[src]
Auto Trait Implementations
impl<'a> Unpin for XmlTagStartWrapper<'a>
impl<'a> Sync for XmlTagStartWrapper<'a>
impl<'a> Send for XmlTagStartWrapper<'a>
impl<'a> UnwindSafe for XmlTagStartWrapper<'a>
impl<'a> RefUnwindSafe for XmlTagStartWrapper<'a>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,