Trait IsEditableND

Source
pub trait IsEditableND: IsND {
    // Required method
    fn set_position(&mut self, dimension: usize, val: f64) -> Result<()>;
}
Expand description

IsEditableND is a trait used for types which are positioned in n-dimensional space and their position can be changed

Required Methods§

Source

fn set_position(&mut self, dimension: usize, val: f64) -> Result<()>

Should set the coordinate / position at dimension to val

Implementors§