Enum rustc_serialize::json::ParserState [−][src]
enum ParserState {
ParseArray(bool),
ParseArrayComma,
ParseObject(bool),
ParseObjectComma,
ParseStart,
ParseBeforeFinish,
ParseFinished,
}
Variants
ParseArray(bool)
Tuple Fields of ParseArray
0: bool
ParseObject(bool)
Tuple Fields of ParseObject
0: bool
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParserState
impl Send for ParserState
impl Sync for ParserState
impl Unpin for ParserState
impl UnwindSafe for ParserState
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 2 bytes
Size for each variant:
ParseArray
: 1 byteParseArrayComma
: 0 bytesParseObject
: 1 byteParseObjectComma
: 0 bytesParseStart
: 0 bytesParseBeforeFinish
: 0 bytesParseFinished
: 0 bytes