Operator explicit operator
explicit operator Rune(Key)
Explicitly cast a Key to a Rune. The conversion is lossy because properties such as Handled are not encoded in KeyCode.
public static explicit operator Rune(Key kea)
Parameters
kea
Key
Returns
Remarks
Uses AsRune.
explicit operator uint(Key)
Explicitly cast Key to a uint. The conversion is lossy because properties such as Handled are not encoded in KeyCode.
public static explicit operator uint(Key kea)
Parameters
kea
Key
Returns
explicit operator KeyCode(Key)
Explicitly cast Key to a KeyCode. The conversion is lossy because properties such as Handled are not encoded in KeyCode.
public static explicit operator KeyCode(Key key)
Parameters
key
Key