ReuseAdviceBool

Trait ReuseAdviceBool 

Source
pub trait ReuseAdviceBool: ReuseAdvice {
    const SHOULD_REUSE: bool = <Self::ShouldReuse>::VALUE;
}
Expand description

Utility to lookup the bool value of ReuseAdvice.

Provided Associated Constants§

Source

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.

Implementors§

Source§

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