Skip to main content

Readable

Trait Readable 

Source
pub trait Readable<Root, Value> {
    // Required method
    fn get(&self, root: Root) -> Option<Value>;
}
Expand description

Read-only keypath: navigate from Root to Value.

Required Methods§

Source

fn get(&self, root: Root) -> Option<Value>

Getter path. Returns None when navigation fails.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§