Struct gtk_icon_cache::GtkIconCache
[−]
[src]
pub struct GtkIconCache { /* fields omitted */ }
GtkIconCache
Methods
impl GtkIconCache
[src]
pub fn with_file_path<T: AsRef<Path>>(path: T) -> Result<Self>
[src]
Create with a cache file.
path
- Cache file path.
pub fn lookup<T: AsRef<str>>(&self, name: T) -> Option<Vec<&String>>
[src]
Look up an icon.
name
- icon name.
Trait Implementations
impl Debug for GtkIconCache
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for GtkIconCache
[src]
fn clone(&self) -> GtkIconCache
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more