pub trait ReuseAdviceBool: ReuseAdvice {
const SHOULD_REUSE: bool = <Self::ShouldReuse>::VALUE;
}Expand description
Utility to lookup the bool value of ReuseAdvice.
Provided Associated Constants§
Sourceconst SHOULD_REUSE: bool = <Self::ShouldReuse>::VALUE
const SHOULD_REUSE: bool = <Self::ShouldReuse>::VALUE
The value of ReuseAdvice::ShouldReuse as a bool.
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.