[][src]Struct xml_tokens::PITarget

pub struct PITarget { /* fields omitted */ }

Represents a processing instruction target, contained by the Token::PITarget variant.

A processing instruction target can be any Name with the exclusion of the reserved xml or any case variation thereof. See the XML 1.1 specification for details.

Methods

impl PITarget[src]

pub fn get_as_str(&self) -> &str[src]

Returns the target as a &str.

Trait Implementations

impl PartialEq<PITarget> for PITarget[src]

impl Debug for PITarget[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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