Struct gdk_pixbuf::PixbufFormat [−][src]
pub struct PixbufFormat(_);
Expand description
A PixbufFormat
contains information about the image format accepted by a
module. Only modules should access the fields directly, applications should
use the <function>
gdk_pixbuf_format_*</function>
functions.
Implementations
Returns information about the license of the image loader for the format. The
returned string should be a shorthand for a wellknown license, e.g. “LGPL”,
“GPL”, “QPL”, “GPL/QPL”, or “other” to indicate some other license. This
string should be freed with g_free()
when it’s no longer needed.
Returns
a string describing the license of self
.
Returns whether this image format is disabled. See
set_disabled()
.
Returns
whether this image format is disabled.
This is supported on crate feature v2_36
only.
v2_36
only.Returns true
if the save option specified by option_key
is supported when
saving a pixbuf using the module implementing self
.
See gdk_pixbuf_save()
for more information about option keys.
option_key
the name of an option
Returns
true
if the specified option is supported
Returns whether this image format is scalable. If a file is in a scalable format, it is preferable to load it at the desired size, rather than loading it at the default size and scaling the resulting pixbuf to the desired size.
Returns
whether this image format is scalable.
Returns whether pixbufs can be saved in the given format.
Returns
whether pixbufs can be saved in the given format.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for PixbufFormat
impl !Send for PixbufFormat
impl !Sync for PixbufFormat
impl Unpin for PixbufFormat
impl UnwindSafe for PixbufFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,