pub enum PianoRollFocus {
Navigation,
Selected,
Row,
}Expand description
What level of the piano roll is focused. Follows the Right Left Trick Controls pattern: Navigation → Selected (column) → Row (individual note)
Variants§
h/l navigates columns, number keys jump, j/k scrolls view. Enter selects the current column.
Selected
Column selected. h/l = left edge, H/L = right edge of ALL notes. j/k drops to Row mode. Esc back to Navigation.
Row
Single note. h/l = left edge, H/L = right edge of ONE note. j/k moves between notes. Esc back to Selected.
Trait Implementations§
Source§impl Clone for PianoRollFocus
impl Clone for PianoRollFocus
Source§fn clone(&self) -> PianoRollFocus
fn clone(&self) -> PianoRollFocus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PianoRollFocus
Source§impl Debug for PianoRollFocus
impl Debug for PianoRollFocus
impl Eq for PianoRollFocus
Source§impl PartialEq for PianoRollFocus
impl PartialEq for PianoRollFocus
impl StructuralPartialEq for PianoRollFocus
Auto Trait Implementations§
impl Freeze for PianoRollFocus
impl RefUnwindSafe for PianoRollFocus
impl Send for PianoRollFocus
impl Sync for PianoRollFocus
impl Unpin for PianoRollFocus
impl UnsafeUnpin for PianoRollFocus
impl UnwindSafe for PianoRollFocus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more