#[non_exhaustive]pub enum PixbufAlphaMode {
Bilevel,
Full,
}
๐Deprecated: Since 2.42
Variants (Non-exhaustive)ยง
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementationsยง
sourceยงimpl Clone for PixbufAlphaMode
impl Clone for PixbufAlphaMode
sourceยงfn clone(&self) -> PixbufAlphaMode
fn clone(&self) -> PixbufAlphaMode
Returns a copy of the value. Read more
1.6.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceยงimpl Debug for PixbufAlphaMode
impl Debug for PixbufAlphaMode
sourceยงimpl From<PixbufAlphaMode> for Value
impl From<PixbufAlphaMode> for Value
sourceยงfn from(v: PixbufAlphaMode) -> Self
fn from(v: PixbufAlphaMode) -> Self
Converts to this type from the input type.
sourceยงimpl<'a> FromValue<'a> for PixbufAlphaMode
impl<'a> FromValue<'a> for PixbufAlphaMode
sourceยงtype Checker = GenericValueTypeChecker<PixbufAlphaMode>
type Checker = GenericValueTypeChecker<PixbufAlphaMode>
Value type checker.
sourceยงunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresourceยงimpl HasParamSpec for PixbufAlphaMode
impl HasParamSpec for PixbufAlphaMode
type ParamSpec = ParamSpecEnum
sourceยงtype SetValue = PixbufAlphaMode
type SetValue = PixbufAlphaMode
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: PixbufAlphaMode) -> ParamSpecEnumBuilder<'_, PixbufAlphaMode>
fn param_spec_builder() -> Self::BuilderFn
sourceยงimpl Hash for PixbufAlphaMode
impl Hash for PixbufAlphaMode
sourceยงimpl Ord for PixbufAlphaMode
impl Ord for PixbufAlphaMode
sourceยงfn cmp(&self, other: &PixbufAlphaMode) -> Ordering
fn cmp(&self, other: &PixbufAlphaMode) -> 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 for PixbufAlphaMode
impl PartialEq for PixbufAlphaMode
sourceยงimpl PartialOrd for PixbufAlphaMode
impl PartialOrd for PixbufAlphaMode
sourceยงimpl StaticType for PixbufAlphaMode
impl StaticType for PixbufAlphaMode
sourceยงfn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.sourceยงimpl ToValue for PixbufAlphaMode
impl ToValue for PixbufAlphaMode
sourceยงimpl ValueType for PixbufAlphaMode
impl ValueType for PixbufAlphaMode
sourceยงtype Type = PixbufAlphaMode
type Type = PixbufAlphaMode
Type to get the
Type
from. Read moreimpl Copy for PixbufAlphaMode
impl Eq for PixbufAlphaMode
impl StructuralPartialEq for PixbufAlphaMode
Auto Trait Implementationsยง
impl Freeze for PixbufAlphaMode
impl RefUnwindSafe for PixbufAlphaMode
impl Send for PixbufAlphaMode
impl Sync for PixbufAlphaMode
impl Unpin for PixbufAlphaMode
impl UnwindSafe for PixbufAlphaMode
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)sourceยงimpl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
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 T
impl<T> ToSendValue for T
sourceยงfn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.