Trait PosableMut

Source
pub trait PosableMut<F>: Posable<F> {
    // Required method
    fn get_pos_mut(&mut self) -> &mut Position<F>;

    // Provided method
    fn progress(&mut self, nrow: i32, ncol: i32) { ... }
}
Expand description

A trait for object with mutable position

Required Methods§

Source

fn get_pos_mut(&mut self) -> &mut Position<F>

Get a mutable reference to its position

Provided Methods§

Source

fn progress(&mut self, nrow: i32, ncol: i32)

Increase or decrease line and column number by an offset

Implementors§

Source§

impl<T, F> PosableMut<F> for Pos<T, F>