Enum smithay_client_toolkit::seat::pointer::ThemeSpec
source · pub enum ThemeSpec<'a> {
Precise {
name: &'a str,
size: u32,
},
System,
}
Expand description
The specification of a cursor theme to be used by the ThemeManager
Variants§
Precise
Fields
Use this specific theme with given base size
System
Use the system provided theme
In this case SCTK will read the XCURSOR_THEME
and
XCURSOR_SIZE
environment variables to figure out the
theme to use.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ThemeSpec<'a>
impl<'a> Send for ThemeSpec<'a>
impl<'a> Sync for ThemeSpec<'a>
impl<'a> Unpin for ThemeSpec<'a>
impl<'a> UnwindSafe for ThemeSpec<'a>
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