Enum i_slint_core::items::MouseCursor
source · [−]#[repr(C)]
pub enum MouseCursor {
Show 28 variants
default,
none,
help,
pointer,
progress,
wait,
crosshair,
text,
alias,
copy,
no_drop,
not_allowed,
grab,
grabbing,
col_resize,
row_resize,
n_resize,
e_resize,
s_resize,
w_resize,
ne_resize,
nw_resize,
se_resize,
sw_resize,
ew_resize,
ns_resize,
nesw_resize,
nwse_resize,
}Variants
default
none
help
pointer
progress
wait
crosshair
text
alias
copy
no_drop
not_allowed
grab
grabbing
col_resize
row_resize
n_resize
e_resize
s_resize
w_resize
ne_resize
nw_resize
se_resize
sw_resize
ew_resize
ns_resize
nesw_resize
nwse_resize
Trait Implementations
sourceimpl Clone for MouseCursor
impl Clone for MouseCursor
sourcefn clone(&self) -> MouseCursor
fn clone(&self) -> MouseCursor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MouseCursor
impl Debug for MouseCursor
sourceimpl Default for MouseCursor
impl Default for MouseCursor
sourceimpl Display for MouseCursor
impl Display for MouseCursor
sourceimpl FromStr for MouseCursor
impl FromStr for MouseCursor
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl PartialEq<MouseCursor> for MouseCursor
impl PartialEq<MouseCursor> for MouseCursor
sourceimpl TryFrom<&'_ str> for MouseCursor
impl TryFrom<&'_ str> for MouseCursor
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
impl Copy for MouseCursor
impl StructuralPartialEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more