Trait IntPair

Source
pub trait IntPair: Default {
    // Required method
    fn reify() -> (isize, isize);
}
Expand description

The IntPair trait and Int2 struct represent 2-tuples of Ints. They are used internally for defining type-level logic.

Required Methods§

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<X: Int, Y: Int> IntPair for Int2<X, Y>