[][src]Struct qt_core::q_xml_stream_reader::ReadElementTextBehaviour

#[repr(transparent)]pub struct ReadElementTextBehaviour(_);

This enum specifies the different behaviours of readElementText().

C++ enum: QXmlStreamReader::ReadElementTextBehaviour.

C++ documentation:

This enum specifies the different behaviours of readElementText().

This enum was introduced or modified in Qt 4.6.

Methods

impl ReadElementTextBehaviour[src]

pub fn to_int(&self) -> c_int[src]

impl ReadElementTextBehaviour[src]

pub const ErrorOnUnexpectedElement: ReadElementTextBehaviour[src]

Raise an UnexpectedElementError and return what was read so far when a child element is encountered. (C++ enum variant: ErrorOnUnexpectedElement = 0)

pub const IncludeChildElements: ReadElementTextBehaviour[src]

Recursively include the text from child elements. (C++ enum variant: IncludeChildElements = 1)

pub const SkipChildElements: ReadElementTextBehaviour[src]

Skip child elements. (C++ enum variant: SkipChildElements = 2)

Trait Implementations

impl Clone for ReadElementTextBehaviour[src]

impl Copy for ReadElementTextBehaviour[src]

impl Debug for ReadElementTextBehaviour[src]

impl Eq for ReadElementTextBehaviour[src]

impl From<ReadElementTextBehaviour> for c_int[src]

impl From<i32> for ReadElementTextBehaviour[src]

impl PartialEq<ReadElementTextBehaviour> for ReadElementTextBehaviour[src]

impl StructuralEq for ReadElementTextBehaviour[src]

impl StructuralPartialEq for ReadElementTextBehaviour[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.