[−][src]Struct qt_core::CursorMoveStyle
This enum describes the movement style available to text cursors. The options are:
C++ enum: Qt::CursorMoveStyle
.
This enum describes the movement style available to text cursors. The options are:
Methods
impl CursorMoveStyle
[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]
fn from(value: CursorMoveStyle) -> Self
[src]
impl Clone for CursorMoveStyle
[src]
fn clone(&self) -> CursorMoveStyle
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CursorMoveStyle
[src]
impl Eq for CursorMoveStyle
[src]
impl PartialEq<CursorMoveStyle> for CursorMoveStyle
[src]
fn eq(&self, other: &CursorMoveStyle) -> bool
[src]
fn ne(&self, other: &CursorMoveStyle) -> bool
[src]
impl Debug for CursorMoveStyle
[src]
Auto Trait Implementations
impl Send for CursorMoveStyle
impl Sync for CursorMoveStyle
impl Unpin for CursorMoveStyle
impl UnwindSafe for CursorMoveStyle
impl RefUnwindSafe for CursorMoveStyle
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,