Struct gdk_pixbuf::PixbufFormat
source · #[repr(transparent)]pub struct PixbufFormat { /* private fields */ }
Implementations§
source§impl PixbufFormat
impl PixbufFormat
sourcepub fn as_ptr(&self) -> *mut GdkPixbufFormat
pub fn as_ptr(&self) -> *mut GdkPixbufFormat
Return the inner pointer to the underlying C value.
sourcepub unsafe fn from_glib_ptr_borrow<'a>(
ptr: *const *const GdkPixbufFormat
) -> &'a Self
pub unsafe fn from_glib_ptr_borrow<'a>(
ptr: *const *const GdkPixbufFormat
) -> &'a Self
Borrows the underlying C value.
sourcepub unsafe fn from_glib_ptr_borrow_mut<'a>(
ptr: *mut *mut GdkPixbufFormat
) -> &'a mut Self
pub unsafe fn from_glib_ptr_borrow_mut<'a>(
ptr: *mut *mut GdkPixbufFormat
) -> &'a mut Self
Borrows the underlying C value mutably.
source§impl PixbufFormat
impl PixbufFormat
pub fn description(&self) -> GString
pub fn extensions(&self) -> Vec<GString>
pub fn license(&self) -> GString
pub fn mime_types(&self) -> Vec<GString>
pub fn name(&self) -> GString
pub fn is_disabled(&self) -> bool
pub fn is_save_option_supported(&self, option_key: &str) -> bool
pub fn is_scalable(&self) -> bool
pub fn is_writable(&self) -> bool
pub fn set_disabled(&mut self, disabled: bool)
Trait Implementations§
source§impl Clone for PixbufFormat
impl Clone for PixbufFormat
source§impl Debug for PixbufFormat
impl Debug for PixbufFormat
source§impl Display for PixbufFormat
impl Display for PixbufFormat
source§impl From<PixbufFormat> for Value
impl From<PixbufFormat> for Value
source§fn from(o: PixbufFormat) -> Self
fn from(o: PixbufFormat) -> Self
Converts to this type from the input type.
source§impl HasParamSpec for PixbufFormat
impl HasParamSpec for PixbufFormat
type ParamSpec = ParamSpecBoxed
§type SetValue = PixbufFormat
type SetValue = PixbufFormat
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, PixbufFormat>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for PixbufFormat
impl Hash for PixbufFormat
source§impl Ord for PixbufFormat
impl Ord for PixbufFormat
source§fn cmp(&self, other: &PixbufFormat) -> Ordering
fn cmp(&self, other: &PixbufFormat) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<PixbufFormat> for PixbufFormat
impl PartialEq<PixbufFormat> for PixbufFormat
source§fn eq(&self, other: &PixbufFormat) -> bool
fn eq(&self, other: &PixbufFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PixbufFormat> for PixbufFormat
impl PartialOrd<PixbufFormat> for PixbufFormat
source§fn partial_cmp(&self, other: &PixbufFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &PixbufFormat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for PixbufFormat
impl StaticType for PixbufFormat
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for PixbufFormat
impl Send for PixbufFormat
impl StructuralEq for PixbufFormat
impl StructuralPartialEq for PixbufFormat
impl Sync for PixbufFormat
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.