[][src]Trait ommui_relm_widgets::Pixbufs

pub trait Pixbufs {
    fn get_pixbuf(&self, k: &str) -> Option<Pixbuf>;
fn get_pixbuf_or_default(&self, k: &str) -> Pixbuf; }

A trait for providing pixbufs.

Required methods

fn get_pixbuf(&self, k: &str) -> Option<Pixbuf>

Get a pixbuf.

fn get_pixbuf_or_default(&self, k: &str) -> Pixbuf

Get a pixbuf, or if not present, a default pixbuf.

Loading content...

Implementations on Foreign Types

impl Pixbufs for IndexMap<String, Pixbuf>[src]

Loading content...

Implementors

Loading content...