Enum rustc_serialize::json::ParserState
source · [−]enum ParserState {
ParseArray(bool),
ParseArrayComma,
ParseObject(bool),
ParseObjectComma,
ParseStart,
ParseBeforeFinish,
ParseFinished,
}Variants
ParseArray(bool)
ParseArrayComma
ParseObject(bool)
ParseObjectComma
ParseStart
ParseBeforeFinish
ParseFinished
Trait Implementations
sourceimpl Debug for ParserState
impl Debug for ParserState
sourceimpl PartialEq<ParserState> for ParserState
impl PartialEq<ParserState> for ParserState
sourcefn eq(&self, other: &ParserState) -> bool
fn eq(&self, other: &ParserState) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ParserState) -> bool
fn ne(&self, other: &ParserState) -> bool
This method tests for !=.
impl StructuralPartialEq for ParserState
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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