pub trait Orientation<K, V> {
type XType;
type YType;
// Required methods
fn make_coord(key: K, val: V) -> (Self::XType, Self::YType);
fn with_offset(coord: BackendCoord, offset: i32) -> BackendCoord;
}Expand description
Trait implemented by box plot orientations (Vertical and Horizontal)
Required Associated Types§
Required Methods§
fn make_coord(key: K, val: V) -> (Self::XType, Self::YType)
fn with_offset(coord: BackendCoord, offset: i32) -> BackendCoord
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.