pub trait ReadableCompositionLocal<T> {
// Required method
fn read_current(&self) -> T;
}Expand description
A composition local whose current value a computed local can read; see
CompositionLocalAccessorScope.
Required Methods§
Sourcefn read_current(&self) -> T
fn read_current(&self) -> T
The local’s value where it is read, as current gives it.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".