[][src]Struct quick_xml::events::BytesEnd

pub struct BytesEnd<'a> { /* fields omitted */ }

A struct to manage Event::End events


impl<'a> BytesEnd<'a>[src]

pub fn borrowed(name: &'a [u8]) -> BytesEnd<'a>[src]

Creates a new BytesEnd borrowing a slice

pub fn owned(name: Vec<u8>) -> BytesEnd<'static>[src]

Creates a new BytesEnd owning its name

pub fn into_owned(self) -> BytesEnd<'static>[src]

Converts the event into an owned event.

pub fn name(&self) -> &[u8][src]

Gets BytesEnd event name

pub fn local_name(&self) -> &[u8][src]

local name (excluding namespace) as &u8 (without eventual attributes) returns the name() with any leading namespace removed (all content up to and including the first ':' character)

Trait Implementations

impl<'a> Clone for BytesEnd<'a>[src]

impl<'a> Debug for BytesEnd<'a>[src]

impl<'a> Deref for BytesEnd<'a>[src]

type Target = [u8]

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a> RefUnwindSafe for BytesEnd<'a>

impl<'a> Send for BytesEnd<'a>

impl<'a> Sync for BytesEnd<'a>

impl<'a> Unpin for BytesEnd<'a>

impl<'a> UnwindSafe for BytesEnd<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.