Struct gdk_pixbuf::PixbufLoader
[−]
pub struct PixbufLoader(_, _);
Methods
impl PixbufLoader
[src]
fn new() -> PixbufLoader
fn new_with_type(image_type: &str) -> Result<PixbufLoader, Error>
fn new_with_mime_type(mime_type: &str) -> Result<PixbufLoader, Error>
fn get_format(&self) -> PixbufFormat
fn loader_write(&self, buf: &[u8]) -> Result<(), Error>
fn set_size(&self, width: i32, height: i32)
fn get_pixbuf(&self) -> Option<Pixbuf>
fn get_animation(&self) -> Option<PixbufAnimation>
fn close(&self) -> Result<(), Error>
Trait Implementations
impl Clone for PixbufLoader
fn clone(&self) -> PixbufLoader
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for PixbufLoader
impl Hash for PixbufLoader
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for PixbufLoader
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for PixbufLoader
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.