Enum TextKeyNavigationDirection
#[repr(i32)]pub enum TextKeyNavigationDirection {
LeftToRight = 0,
RightToLeft = 1,
}Expand description
Variants§
LeftToRight = 0
Specifies left-to-right key navigation where:
- Right arrow key moves cursor or selection end point forward in the logical order of the characters.
- Left arrow key moves cursor or selection end point backward in the logical order of the characters.
RightToLeft = 1
Specifies right-to-left key navigation where:
- Left arrow key moves cursor or selection end point forward in the logical order of the characters.
- Right arrow key moves cursor or selection end point backward in the logical order of the characters.
Implementations§
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> TextKeyNavigationDirection
Trait Implementations§
§fn clone(&self) -> TextKeyNavigationDirection
fn clone(&self) -> TextKeyNavigationDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§type DataArg<'a> = TextKeyNavigationDirection
type DataArg<'a> = TextKeyNavigationDirection
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§fn as_arg(
&self,
) -> <TextKeyNavigationDirection as VariantConstraint>::DataArg<'_>
fn as_arg( &self, ) -> <TextKeyNavigationDirection as VariantConstraint>::DataArg<'_>
Auto Trait Implementations§
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