ReuseAdviceSelf

Trait ReuseAdviceSelf 

Source
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§

Source

fn should_reuse(&self) -> bool

Determine wether self should be reused.

Implementors§

Source§

impl<Querier: ReuseAdvice + ?Sized> ReuseAdviceSelf for Querier