pub trait ReuseAdviceSelf: ReuseAdvice {
// Provided method
fn should_reuse(&self) -> bool { ... }
}Expand description
Utility to lookup the bool value of self whose type implements ReuseAdvice.
This trait is the dyn-friendly version of ReuseAdviceBool.
Provided Methods§
Sourcefn should_reuse(&self) -> bool
fn should_reuse(&self) -> bool
Determine wether self should be reused.