Type Alias json_ld_syntax::MetaValue

source ·
pub type MetaValue<M = ()> = Meta<Value<M>, M>;
Expand description

Value wrapped inside a locspan::Meta container.

This type alias is useful if the same metadata is used for the top level value and the sub value to avoid repetition of the M type.

Aliased Type§

struct MetaValue<M = ()>(pub Value<M>, pub M);

Fields§

§0: Value<M>§1: M

Trait Implementations§

source§

impl<M> Compare for MetaValue<M>

source§

fn compare(&self, other: &Self) -> bool