Enum tiny_game_framework::CursorMode
source · #[repr(i32)]pub enum CursorMode {
Normal = 212_993,
Hidden = 212_994,
Disabled = 212_995,
}
Expand description
Cursor modes.
Variants§
Trait Implementations§
source§impl Clone for CursorMode
impl Clone for CursorMode
source§fn clone(&self) -> CursorMode
fn clone(&self) -> CursorMode
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 CursorMode
impl Debug for CursorMode
source§impl Hash for CursorMode
impl Hash for CursorMode
source§impl Ord for CursorMode
impl Ord for CursorMode
source§fn cmp(&self, other: &CursorMode) -> Ordering
fn cmp(&self, other: &CursorMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CursorMode
impl PartialEq for CursorMode
source§fn eq(&self, other: &CursorMode) -> bool
fn eq(&self, other: &CursorMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CursorMode
impl PartialOrd for CursorMode
source§fn partial_cmp(&self, other: &CursorMode) -> Option<Ordering>
fn partial_cmp(&self, other: &CursorMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CursorMode
impl Eq for CursorMode
impl StructuralPartialEq for CursorMode
Auto Trait Implementations§
impl Freeze for CursorMode
impl RefUnwindSafe for CursorMode
impl Send for CursorMode
impl Sync for CursorMode
impl Unpin for CursorMode
impl UnwindSafe for CursorMode
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