[][src]Struct qt_core::CursorMoveStyle

#[repr(transparent)]
pub struct CursorMoveStyle(_);

This enum describes the movement style available to text cursors. The options are:

C++ enum: Qt::CursorMoveStyle.

C++ documentation:

This enum describes the movement style available to text cursors. The options are:

Methods

impl CursorMoveStyle[src]

pub fn to_int(&self) -> c_int[src]

impl CursorMoveStyle[src]

pub const LogicalMoveStyle: CursorMoveStyle[src]

Within a left-to-right text block, decrease cursor position when pressing left arrow key, increase cursor position when pressing the right arrow key. If the text block is right-to-left, the opposite behavior applies. (C++ enum variant: LogicalMoveStyle = 0)

pub const VisualMoveStyle: CursorMoveStyle[src]

Pressing the left arrow key will always cause the cursor to move left, regardless of the text's writing direction. Pressing the right arrow key will always cause the cursor to move right. (C++ enum variant: VisualMoveStyle = 1)

Trait Implementations

impl From<i32> for CursorMoveStyle[src]

impl From<CursorMoveStyle> for c_int[src]

impl Clone for CursorMoveStyle[src]

impl Copy for CursorMoveStyle[src]

impl Eq for CursorMoveStyle[src]

impl PartialEq<CursorMoveStyle> for CursorMoveStyle[src]

impl Debug for CursorMoveStyle[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]