Enum dochy_json5::jval::JVal[][src]

pub enum JVal {
    Null(Span),
    Undefined(Span),
    Bool(boolSpan),
    String(StringSpan),
    Int(i64Span),
    Double(f64Span),
    Array(Vec<JVal>, Span),
    Map(LinkedHashMap<String, JVal>, Span),
}

Variants

Null(Span)

Tuple Fields

0: Span

Undefined(Span)

Tuple Fields

0: Span

Bool(boolSpan)

Tuple Fields

0: bool
1: Span

String(StringSpan)

Tuple Fields

0: String
1: Span

Int(i64Span)

Tuple Fields

0: i64
1: Span

Double(f64Span)

Tuple Fields

0: f64
1: Span

Array(Vec<JVal>, Span)

Tuple Fields

0: Vec<JVal>
1: Span

Map(LinkedHashMap<String, JVal>, Span)

Tuple Fields

1: Span

Implementations

くっそ重いので正常系で実行しないように注意

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.