Trait simd_json::prelude::TypedValue

source ·
pub trait TypedValue {
    // Required method
    fn value_type(&self) -> ValueType;
}
Expand description

Prelude to include needed traits Type information on a value

Required Methods§

source

fn value_type(&self) -> ValueType

Gets the type of the current value

Implementations on Foreign Types§

source§

impl<V> TypedValue for Option<V>
where V: TypedValue,

source§

impl<V> TypedValue for &V
where V: TypedValue,

source§

impl<V, E> TypedValue for Result<V, E>
where V: TypedValue,

Implementors§

source§

impl TypedValue for StaticNode

source§

impl TypedValue for simd_json::value::owned::Value

source§

impl<'tape, 'input> TypedValue for simd_json::value::tape::Value<'tape, 'input>

source§

impl<'value> TypedValue for simd_json::value::borrowed::Value<'value>