JsonIdx

Trait JsonIdx 

Source
pub trait JsonIdx {
    type Out<'out>
       where Self: 'out;

    // Required method
    fn index<'a>(&self, key: impl Into<Key<'a>>) -> Self::Out<'_>;
}

Required Associated Types§

Source

type Out<'out> where Self: 'out

Required Methods§

Source

fn index<'a>(&self, key: impl Into<Key<'a>>) -> Self::Out<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'out> JsonIdx for JsonOutput<'out>

Source§

type Out<'o> = Option<JsonOutput<'o>> where Self: 'o