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
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
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
Mutably borrows from an owned value. Read more