Skip to main content

TypedValue

Trait TypedValue 

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

Type information on a value

Required Methods§

Source

fn value_type(&self) -> ValueType

Gets the type of the current value

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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 simd_json::borrowed::Value<'_>

Source§

impl TypedValue for StaticNode

Source§

impl TypedValue for simd_json::lazy::Value<'_, '_, '_>

Source§

impl TypedValue for simd_json::owned::Value

Source§

impl TypedValue for simd_json::tape::Value<'_, '_>