Skip to main content

Context

Trait Context 

Source
pub trait Context {
    // Required method
    fn get_field(&self, field_name: &str) -> &str;
}

Required Methods§

Source

fn get_field(&self, field_name: &str) -> &str

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§