[−][src]Trait ommui_relm_widgets::LoadFromFile
A trait for items loadable from file.
Required methods
fn load_from_file_at_scale<P: AsRef<Path>>(
filename: P,
max_width: u16,
max_height: u16
) -> Result<Self>
filename: P,
max_width: u16,
max_height: u16
) -> Result<Self>
Load the item with a maximum width and height.
Provided methods
fn load_from_file_with_size<P: AsRef<Path>>(
filename: P,
pixelsize: u16
) -> Result<Self>
filename: P,
pixelsize: u16
) -> Result<Self>
Load the item with a defined pixel size.
Implementations on Foreign Types
impl LoadFromFile for Pixbuf
[src]
fn load_from_file_at_scale<P: AsRef<Path>>(
filename: P,
max_width: u16,
max_height: u16
) -> Result<Self>
[src]
filename: P,
max_width: u16,
max_height: u16
) -> Result<Self>