pub(crate) enum CursorFormat {
XCursor,
Scalable,
}Expand description
The on-disk format of a cursor within a theme directory.
Variants§
XCursor
Legacy raster cursors, stored as a file in cursors/<name>.
Scalable
Scalable SVG cursors, stored as a directory in cursors_scalable/<name>.
Implementations§
Trait Implementations§
Source§impl Clone for CursorFormat
impl Clone for CursorFormat
Source§fn clone(&self) -> CursorFormat
fn clone(&self) -> CursorFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CursorFormat
impl Debug for CursorFormat
Source§impl PartialEq for CursorFormat
impl PartialEq for CursorFormat
Source§fn eq(&self, other: &CursorFormat) -> bool
fn eq(&self, other: &CursorFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CursorFormat
impl Eq for CursorFormat
impl StructuralPartialEq for CursorFormat
Auto Trait Implementations§
impl Freeze for CursorFormat
impl RefUnwindSafe for CursorFormat
impl Send for CursorFormat
impl Sync for CursorFormat
impl Unpin for CursorFormat
impl UnsafeUnpin for CursorFormat
impl UnwindSafe for CursorFormat
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