pub trait AsBound {
type Item;
// Required method
fn bound(&self) -> Bound<&Self::Item>;
}Expand description
Types that can be interpreted as range bounds.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".