[][src]Struct xcursor::XCursorTheme

pub struct XCursorTheme { /* fields omitted */ }

Methods

impl XCursorTheme[src]

pub fn load(name: &str, search_paths: &Vec<PathBuf>) -> Self[src]

This function searches for a theme with the given name in the given search paths, and returns an XCursorTheme which represents it. If no inheritance can be determined, then the themes inherits from the "default" theme.

pub fn load_icon(&self, icon_name: &str) -> Option<PathBuf>[src]

Attempts to load an icon from the theme. If the icon is not found within this theme's directories, then the function looks at the theme from which this theme is inherited.

Trait Implementations

impl Debug for XCursorTheme[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,