pub enum ScrollDirection {
Down,
Left,
Right,
Up,
}
Variants§
Down
§SD - Scroll down
SD causes the data in the presentation component to be moved by n line positions if the line orientation
is horizontal, or by n
character positions if the line orientation is vertical, such that the data appear to
move down.
The active presentation position is not affected by this control function.
Left
§SL - Scroll left
SL causes the data in the presentation component to be moved by n character positions if the line
orientation is horizontal, or by n
line positions if the line orientation is vertical, such that the data appear
to move to the left.
The active presentation position is not affected by this control function.
Right
§SR - Scroll right
SR causes the data in the presentation component to be moved by n character positions if the line
orientation is horizontal, or by n
line positions if the line orientation is vertical, such that the data appear
to move to the right.
The active presentation position is not affected by this control function.
Up
§SU - Scroll up
SU causes the data in the presentation component to be moved by n line positions if the line orientation
is horizontal, or by n
character positions if the line orientation is vertical, such that the data appear to
move up.
The active presentation position is not affected by this control function.
Trait Implementations§
Source§impl Clone for ScrollDirection
impl Clone for ScrollDirection
Source§fn clone(&self) -> ScrollDirection
fn clone(&self) -> ScrollDirection
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more