pub enum CursorKind {
Default,
Text,
Pointer,
Grab,
Crosshair,
NotAllowed,
}Expand description
マウスカーソルの形状(CSS cursor キーワード連動)
Variants§
Default
既定の矢印(SVG ICON_CURSOR_64)
Text
テキスト選択(I-beam 縦棒)
Pointer
リンク・ボタン用ポインター(指差し手形)
Grab
ドラッグ可能(開いた手形)
Crosshair
照準・十字線
NotAllowed
操作禁止(丸に斜線)
Implementations§
Trait Implementations§
Source§impl Clone for CursorKind
impl Clone for CursorKind
impl Copy for CursorKind
Source§impl Debug for CursorKind
impl Debug for CursorKind
impl Eq for CursorKind
Source§impl PartialEq for CursorKind
impl PartialEq for CursorKind
impl StructuralPartialEq for CursorKind
Auto Trait Implementations§
impl Freeze for CursorKind
impl RefUnwindSafe for CursorKind
impl Send for CursorKind
impl Sync for CursorKind
impl Unpin for CursorKind
impl UnsafeUnpin for CursorKind
impl UnwindSafe for CursorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
§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
Compare self to
key and return true if they are equal.