[][src]Struct xml_tokens::PIData

pub struct PIData { /* fields omitted */ }

Represents processing instruction data, contained by the Token::PIData variant.

See the XML 1.1 specification for details.

Methods

impl PIData[src]

pub fn new_unvalidated(data: String) -> PIData[src]

Create a PIData without validating that data conforms to the XML specification.

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

Returns the data as a &str.

Trait Implementations

impl PartialEq<PIData> for PIData[src]

impl Debug for PIData[src]

Auto Trait Implementations

impl Send for PIData

impl Unpin for PIData

impl Sync for PIData

impl RefUnwindSafe for PIData

impl UnwindSafe for PIData

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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