Enum sdl2_sys::XIMCaretDirection
source · #[repr(u32)]pub enum XIMCaretDirection {
XIMForwardChar = 0,
XIMBackwardChar = 1,
XIMForwardWord = 2,
XIMBackwardWord = 3,
XIMCaretUp = 4,
XIMCaretDown = 5,
XIMNextLine = 6,
XIMPreviousLine = 7,
XIMLineStart = 8,
XIMLineEnd = 9,
XIMAbsolutePosition = 10,
XIMDontChange = 11,
}
Variants§
XIMForwardChar = 0
XIMBackwardChar = 1
XIMForwardWord = 2
XIMBackwardWord = 3
XIMCaretUp = 4
XIMCaretDown = 5
XIMNextLine = 6
XIMPreviousLine = 7
XIMLineStart = 8
XIMLineEnd = 9
XIMAbsolutePosition = 10
XIMDontChange = 11
Trait Implementations§
source§impl Clone for XIMCaretDirection
impl Clone for XIMCaretDirection
source§fn clone(&self) -> XIMCaretDirection
fn clone(&self) -> XIMCaretDirection
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 Hash for XIMCaretDirection
impl Hash for XIMCaretDirection
source§impl PartialEq for XIMCaretDirection
impl PartialEq for XIMCaretDirection
source§fn eq(&self, other: &XIMCaretDirection) -> bool
fn eq(&self, other: &XIMCaretDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XIMCaretDirection
impl Eq for XIMCaretDirection
impl StructuralPartialEq for XIMCaretDirection
Auto Trait Implementations§
impl Freeze for XIMCaretDirection
impl RefUnwindSafe for XIMCaretDirection
impl Send for XIMCaretDirection
impl Sync for XIMCaretDirection
impl Unpin for XIMCaretDirection
impl UnwindSafe for XIMCaretDirection
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