pub trait Union<Rhs: IntervalType>: IntervalType {
type Result: IntervalType;
const LB_SIGN: &'static str = <Self::Result>::LB_SIGN;
const UB_SIGN: &'static str = <Self::Result>::UB_SIGN;
// Provided methods
fn lb_op<T: 'static + PartialOrd<U>, U: 'static>( ) -> Box<dyn ComparisonOperator<T, U>> { ... }
fn lb_op_with<T: 'static + PartialOrd<U>, U: 'static>(
precision: T,
) -> Box<dyn ComparisonOperator<T, U>> { ... }
fn ub_op<T: 'static + PartialOrd<U>, U: 'static>( ) -> Box<dyn ComparisonOperator<T, U>> { ... }
fn ub_op_with<T: 'static + PartialOrd<U>, U: 'static>(
precision: T,
) -> Box<dyn ComparisonOperator<T, U>> { ... }
}Provided Associated Constants§
const LB_SIGN: &'static str = <Self::Result>::LB_SIGN
const UB_SIGN: &'static str = <Self::Result>::UB_SIGN
Required Associated Types§
type Result: IntervalType
Provided Methods§
fn lb_op<T: 'static + PartialOrd<U>, U: 'static>() -> Box<dyn ComparisonOperator<T, U>>
fn lb_op_with<T: 'static + PartialOrd<U>, U: 'static>( precision: T, ) -> Box<dyn ComparisonOperator<T, U>>
fn ub_op<T: 'static + PartialOrd<U>, U: 'static>() -> Box<dyn ComparisonOperator<T, U>>
fn ub_op_with<T: 'static + PartialOrd<U>, U: 'static>( precision: T, ) -> Box<dyn ComparisonOperator<T, U>>
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.