Trait NewTextPos

Source
pub trait NewTextPos<T> {
    // Required methods
    fn cr(xy: (T, T)) -> TextPos;
    fn px(xy: (T, T)) -> TextPos;
}

Required Methods§

Source

fn cr(xy: (T, T)) -> TextPos

Creates a new TextPos::ColRow

Source

fn px(xy: (T, T)) -> TextPos

Creates a new TextPos::Px

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§