Trait modalkit::editing::cursor::Adjustable
source · pub trait Adjustable {
// Required methods
fn zero(&mut self);
fn adjust(&mut self, adj: &[CursorAdjustment]);
}
Expand description
Trait for adjusting cursors and objects that contain cursors.
Required Methods§
sourcefn adjust(&mut self, adj: &[CursorAdjustment])
fn adjust(&mut self, adj: &[CursorAdjustment])
Apply a CursorAdjustment to any applicable cursors.