Enum xim::CaretDirection
source · #[repr(u32)]pub enum CaretDirection {
ForwardChar = 0,
BackwardChar = 1,
ForwardWord = 2,
BackwardWord = 3,
CaretUp = 4,
CaretDown = 5,
NextLine = 6,
PreviousLine = 7,
LineStart = 8,
LineEnd = 9,
AbsolutePosition = 10,
DontChange = 11,
}
Variants§
ForwardChar = 0
BackwardChar = 1
ForwardWord = 2
BackwardWord = 3
CaretUp = 4
CaretDown = 5
NextLine = 6
PreviousLine = 7
LineStart = 8
LineEnd = 9
AbsolutePosition = 10
DontChange = 11
Trait Implementations§
source§impl Clone for CaretDirection
impl Clone for CaretDirection
source§fn clone(&self) -> CaretDirection
fn clone(&self) -> CaretDirection
Returns a copy 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 moresource§impl Debug for CaretDirection
impl Debug for CaretDirection
source§impl PartialEq for CaretDirection
impl PartialEq for CaretDirection
source§fn eq(&self, other: &CaretDirection) -> bool
fn eq(&self, other: &CaretDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl XimRead for CaretDirection
impl XimRead for CaretDirection
source§impl XimWrite for CaretDirection
impl XimWrite for CaretDirection
impl Copy for CaretDirection
impl Eq for CaretDirection
impl StructuralEq for CaretDirection
impl StructuralPartialEq for CaretDirection
Auto Trait Implementations§
impl RefUnwindSafe for CaretDirection
impl Send for CaretDirection
impl Sync for CaretDirection
impl Unpin for CaretDirection
impl UnwindSafe for CaretDirection
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