Struct wayland_client::cursor::CursorTheme [] [src]

pub struct CursorTheme {
    // some fields omitted
}

Represents a cursor theme loaded from the system.

Methods

impl CursorTheme

fn get_cursor(&self, name: &str) -> Option<Cursor>

Retrieve a cursor from the theme.

Returns None if this cursor is not provided by the theme.

Panics if the name contains an interior null.

Trait Implementations

impl Send for CursorTheme

impl Drop for CursorTheme

fn drop(&mut self)