Enum tic80::MouseCursor
source · pub enum MouseCursor {
Off,
Sprite(MouseSprite),
Arrow,
Hand,
IBeam,
Reserved(u8),
}
Variants§
Trait Implementations§
source§impl Clone for MouseCursor
impl Clone for MouseCursor
source§fn clone(&self) -> MouseCursor
fn clone(&self) -> MouseCursor
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 MouseCursor
impl Debug for MouseCursor
source§impl From<MouseCursor> for MouseCursorByte
impl From<MouseCursor> for MouseCursorByte
source§fn from(f: MouseCursor) -> MouseCursorByte
fn from(f: MouseCursor) -> MouseCursorByte
Converts to this type from the input type.
source§impl From<MouseCursor> for u8
impl From<MouseCursor> for u8
source§fn from(f: MouseCursor) -> u8
fn from(f: MouseCursor) -> u8
Converts to this type from the input type.
source§impl From<MouseCursorByte> for MouseCursor
impl From<MouseCursorByte> for MouseCursor
source§fn from(f: MouseCursorByte) -> MouseCursor
fn from(f: MouseCursorByte) -> MouseCursor
Converts to this type from the input type.
source§impl From<u8> for MouseCursor
impl From<u8> for MouseCursor
source§fn from(f: u8) -> MouseCursor
fn from(f: u8) -> MouseCursor
Converts to this type from the input type.
impl Copy for MouseCursor
Auto Trait Implementations§
impl RefUnwindSafe for MouseCursor
impl Send for MouseCursor
impl Sync for MouseCursor
impl Unpin for MouseCursor
impl UnwindSafe for MouseCursor
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