pub trait Bounded<T>: IntoBounds<T> {
// Required method
fn from_bounds(bounds: (Endpoint<LEFT, T>, Endpoint<RIGHT, T>)) -> Self;
}Expand description
Extend the IntoBounds trait to allow creating
a value from a pair of Endpoint-s.
Required Methods§
Sourcefn from_bounds(bounds: (Endpoint<LEFT, T>, Endpoint<RIGHT, T>)) -> Self
fn from_bounds(bounds: (Endpoint<LEFT, T>, Endpoint<RIGHT, T>)) -> Self
Create from the given pair of Endpoint-s.
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.