[−][src]Struct qt_core::q_xml_stream_reader::TokenType
This enum specifies the type of token the reader just read.
C++ enum: QXmlStreamReader::TokenType
.
This enum specifies the type of token the reader just read.
Methods
impl TokenType
[src]
impl TokenType
[src]
pub const NoToken: TokenType
[src]
The reader has not yet read anything. (C++ enum variant: NoToken = 0
)
pub const Invalid: TokenType
[src]
An error has occurred, reported in error() and errorString(). (C++ enum variant: Invalid = 1
)
pub const StartDocument: TokenType
[src]
The reader reports the XML version number in documentVersion(), and the encoding as specified in the XML document in documentEncoding(). If the document is declared standalone, isStandaloneDocument() returns true
; otherwise it returns false
. (C++ enum variant: StartDocument = 2
)
pub const EndDocument: TokenType
[src]
The reader reports the end of the document. (C++ enum variant: EndDocument = 3
)
pub const StartElement: TokenType
[src]
The reader reports the start of an element with namespaceUri() and name(). Empty elements are also reported as StartElement, followed directly by EndElement. The convenience function readElementText() can be called to concatenate all content until the corresponding EndElement. Attributes are reported in attributes(), namespace declarations in namespaceDeclarations(). (C++ enum variant: StartElement = 4
)
pub const EndElement: TokenType
[src]
The reader reports the end of an element with namespaceUri() and name(). (C++ enum variant: EndElement = 5
)
pub const Characters: TokenType
[src]
The reader reports characters in text(). If the characters are all white-space, isWhitespace() returns true
. If the characters stem from a CDATA section, isCDATA() returns true
. (C++ enum variant: Characters = 6
)
pub const Comment: TokenType
[src]
The reader reports a comment in text(). (C++ enum variant: Comment = 7
)
pub const DTD: TokenType
[src]
The reader reports a DTD in text(), notation declarations in notationDeclarations(), and entity declarations in entityDeclarations(). Details of the DTD declaration are reported in in dtdName(), dtdPublicId(), and dtdSystemId(). (C++ enum variant: DTD = 8
)
pub const EntityReference: TokenType
[src]
The reader reports an entity reference that could not be resolved. The name of the reference is reported in name(), the replacement text in text(). (C++ enum variant: EntityReference = 9
)
pub const ProcessingInstruction: TokenType
[src]
The reader reports a processing instruction in processingInstructionTarget() and processingInstructionData(). (C++ enum variant: ProcessingInstruction = 10
)
Trait Implementations
impl Clone for TokenType
[src]
impl Copy for TokenType
[src]
impl Debug for TokenType
[src]
impl Eq for TokenType
[src]
impl From<TokenType> for c_int
[src]
impl From<i32> for TokenType
[src]
impl PartialEq<TokenType> for TokenType
[src]
impl StructuralEq for TokenType
[src]
impl StructuralPartialEq for TokenType
[src]
Auto Trait Implementations
impl RefUnwindSafe for TokenType
impl Send for TokenType
impl Sync for TokenType
impl Unpin for TokenType
impl UnwindSafe for TokenType
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, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
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>,