[−][src]Struct quick_xml::events::BytesEnd
A struct to manage Event::End
events
Methods
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]
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,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,