pub trait HasPosition {
    // Required method
    fn pos(&self) -> Position;
}

Required Methods§

source

fn pos(&self) -> Position

Position of the object.

Implementors§