Skip to main content

GetVal

Trait GetVal 

Source
pub trait GetVal<T> {
    // Required method
    fn get_value(&self) -> T;
}

Required Methods§

Source

fn get_value(&self) -> T

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§