Struct qt_gui::q_text_cursor::MoveOperation
source · pub struct MoveOperation(/* private fields */);
Expand description
Implementations§
source§impl MoveOperation
impl MoveOperation
sourcepub const NoMove: MoveOperation = _
pub const NoMove: MoveOperation = _
Keep the cursor where it is (C++ enum variant: NoMove = 0
)
sourcepub const Start: MoveOperation = _
pub const Start: MoveOperation = _
Move to the start of the document. (C++ enum variant: Start = 1
)
sourcepub const Up: MoveOperation = _
pub const Up: MoveOperation = _
Move up one line. (C++ enum variant: Up = 2
)
sourcepub const StartOfLine: MoveOperation = _
pub const StartOfLine: MoveOperation = _
Move to the start of the current line. (C++ enum variant: StartOfLine = 3
)
sourcepub const StartOfBlock: MoveOperation = _
pub const StartOfBlock: MoveOperation = _
Move to the start of the current block. (C++ enum variant: StartOfBlock = 4
)
sourcepub const StartOfWord: MoveOperation = _
pub const StartOfWord: MoveOperation = _
Move to the start of the current word. (C++ enum variant: StartOfWord = 5
)
sourcepub const PreviousBlock: MoveOperation = _
pub const PreviousBlock: MoveOperation = _
Move to the start of the previous block. (C++ enum variant: PreviousBlock = 6
)
sourcepub const PreviousCharacter: MoveOperation = _
pub const PreviousCharacter: MoveOperation = _
Move to the previous character. (C++ enum variant: PreviousCharacter = 7
)
sourcepub const PreviousWord: MoveOperation = _
pub const PreviousWord: MoveOperation = _
Move to the beginning of the previous word. (C++ enum variant: PreviousWord = 8
)
sourcepub const Left: MoveOperation = _
pub const Left: MoveOperation = _
Move left one character. (C++ enum variant: Left = 9
)
sourcepub const WordLeft: MoveOperation = _
pub const WordLeft: MoveOperation = _
Move left one word. (C++ enum variant: WordLeft = 10
)
sourcepub const End: MoveOperation = _
pub const End: MoveOperation = _
Move to the end of the document. (C++ enum variant: End = 11
)
sourcepub const Down: MoveOperation = _
pub const Down: MoveOperation = _
Move down one line. (C++ enum variant: Down = 12
)
sourcepub const EndOfLine: MoveOperation = _
pub const EndOfLine: MoveOperation = _
Move to the end of the current line. (C++ enum variant: EndOfLine = 13
)
sourcepub const EndOfWord: MoveOperation = _
pub const EndOfWord: MoveOperation = _
Move to the end of the current word. (C++ enum variant: EndOfWord = 14
)
sourcepub const EndOfBlock: MoveOperation = _
pub const EndOfBlock: MoveOperation = _
Move to the end of the current block. (C++ enum variant: EndOfBlock = 15
)
sourcepub const NextBlock: MoveOperation = _
pub const NextBlock: MoveOperation = _
Move to the beginning of the next block. (C++ enum variant: NextBlock = 16
)
sourcepub const NextCharacter: MoveOperation = _
pub const NextCharacter: MoveOperation = _
Move to the next character. (C++ enum variant: NextCharacter = 17
)
sourcepub const NextWord: MoveOperation = _
pub const NextWord: MoveOperation = _
Move to the next word. (C++ enum variant: NextWord = 18
)
sourcepub const Right: MoveOperation = _
pub const Right: MoveOperation = _
Move right one character. (C++ enum variant: Right = 19
)
sourcepub const WordRight: MoveOperation = _
pub const WordRight: MoveOperation = _
Move right one word. (C++ enum variant: WordRight = 20
)
sourcepub const NextCell: MoveOperation = _
pub const NextCell: MoveOperation = _
Move to the beginning of the next table cell inside the current table. If the current cell is the last cell in the row, the cursor will move to the first cell in the next row. (C++ enum variant: NextCell = 21
)
sourcepub const PreviousCell: MoveOperation = _
pub const PreviousCell: MoveOperation = _
Move to the beginning of the previous table cell inside the current table. If the current cell is the first cell in the row, the cursor will move to the last cell in the previous row. (C++ enum variant: PreviousCell = 22
)
sourcepub const NextRow: MoveOperation = _
pub const NextRow: MoveOperation = _
Move to the first new cell of the next row in the current table. (C++ enum variant: NextRow = 23
)
sourcepub const PreviousRow: MoveOperation = _
pub const PreviousRow: MoveOperation = _
Move to the last cell of the previous row in the current table. (C++ enum variant: PreviousRow = 24
)
Trait Implementations§
source§impl Clone for MoveOperation
impl Clone for MoveOperation
source§fn clone(&self) -> MoveOperation
fn clone(&self) -> MoveOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MoveOperation
impl Debug for MoveOperation
source§impl From<MoveOperation> for c_int
impl From<MoveOperation> for c_int
source§fn from(value: MoveOperation) -> Self
fn from(value: MoveOperation) -> Self
source§impl From<i32> for MoveOperation
impl From<i32> for MoveOperation
source§impl PartialEq for MoveOperation
impl PartialEq for MoveOperation
source§fn eq(&self, other: &MoveOperation) -> bool
fn eq(&self, other: &MoveOperation) -> bool
self
and other
values to be equal, and is used
by ==
.