[−][src]Trait ommui_frontend_gtk::pixbufs::LoadFromBytes
A trait for items loadable from in-memory byte arrays.
Required methods
fn load_from_bytes_at_scale<B: Into<Bytes>>(
data: B,
max_width: u16,
max_height: u16
) -> Result<Self>
data: B,
max_width: u16,
max_height: u16
) -> Result<Self>
Load the item with a maximum width and height.
Provided methods
fn load_from_bytes_with_size<B: Into<Bytes>>(
data: B,
pixelsize: u16
) -> Result<Self>
data: B,
pixelsize: u16
) -> Result<Self>
Load the item with a defined pixel size.
Implementations on Foreign Types
impl LoadFromBytes for Pixbuf
[src]
fn load_from_bytes_at_scale<B: Into<Bytes>>(
data: B,
max_width: u16,
max_height: u16
) -> Result<Self>
[src]
data: B,
max_width: u16,
max_height: u16
) -> Result<Self>