Enum pix_engine::window::SystemCursor
source · #[non_exhaustive]pub enum SystemCursor {
Arrow,
IBeam,
Wait,
Crosshair,
WaitArrow,
SizeNWSE,
SizeNESW,
SizeWE,
SizeNS,
SizeAll,
No,
Hand,
}
Expand description
System Cursor Icon.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Arrow
Default arrow cursor.
IBeam
Vertical I-Beam icon, typically used for text input position.
Wait
Wait hour-glass icon, typically used as a loading indicator.
Crosshair
Cross-hair icon.
WaitArrow
Wait hour-glass + Arrow combined.
SizeNWSE
Resize icon with arrows oriented North-West to South-East.
SizeNESW
Resize icon with arrows oriented North-East to South-West.
SizeWE
Resize icon with arrows oriented West to East.
SizeNS
Resize icon with arrows oriented North to South.
SizeAll
Resize icon with arrows in all cardinal directions.
No
Circle with a line through it.
Hand
Hand icon, typically used as a clickable indicator.
Trait Implementations§
source§impl Clone for SystemCursor
impl Clone for SystemCursor
source§fn clone(&self) -> SystemCursor
fn clone(&self) -> SystemCursor
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 SystemCursor
impl Debug for SystemCursor
source§impl<'de> Deserialize<'de> for SystemCursor
impl<'de> Deserialize<'de> for SystemCursor
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for SystemCursor
impl Hash for SystemCursor
source§impl PartialEq for SystemCursor
impl PartialEq for SystemCursor
source§fn eq(&self, other: &SystemCursor) -> bool
fn eq(&self, other: &SystemCursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SystemCursor
impl Serialize for SystemCursor
impl Copy for SystemCursor
impl Eq for SystemCursor
impl StructuralEq for SystemCursor
impl StructuralPartialEq for SystemCursor
Auto Trait Implementations§
impl RefUnwindSafe for SystemCursor
impl Send for SystemCursor
impl Sync for SystemCursor
impl Unpin for SystemCursor
impl UnwindSafe for SystemCursor
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more