Enum souk::main::flatpak::package::package_kind::SkPackageKind
source · #[repr(u32)]
pub enum SkPackageKind {
App,
Runtime,
}
Variants§
Trait Implementations§
source§impl Clone for SkPackageKind
impl Clone for SkPackageKind
source§fn clone(&self) -> SkPackageKind
fn clone(&self) -> SkPackageKind
Returns a copy of the value. Read more
1.0.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 SkPackageKind
impl Debug for SkPackageKind
source§impl From<RefKind> for SkPackageKind
impl From<RefKind> for SkPackageKind
source§impl From<SkPackageKind> for Value
impl From<SkPackageKind> for Value
source§fn from(v: SkPackageKind) -> Self
fn from(v: SkPackageKind) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for SkPackageKind
impl<'a> FromValue<'a> for SkPackageKind
§type Checker = GenericValueTypeChecker<SkPackageKind>
type Checker = GenericValueTypeChecker<SkPackageKind>
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 SkPackageKind
impl HasParamSpec for SkPackageKind
type ParamSpec = ParamSpecEnum
§type SetValue = SkPackageKind
type SetValue = SkPackageKind
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: SkPackageKind) -> ParamSpecEnumBuilder<'_, SkPackageKind>
fn param_spec_builder() -> Self::BuilderFn
source§impl PartialEq<SkPackageKind> for SkPackageKind
impl PartialEq<SkPackageKind> for SkPackageKind
source§fn eq(&self, other: &SkPackageKind) -> bool
fn eq(&self, other: &SkPackageKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl StaticType for SkPackageKind
impl StaticType for SkPackageKind
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for SkPackageKind
impl ToValue for SkPackageKind
source§impl TryFromGlib<i32> for SkPackageKind
impl TryFromGlib<i32> for SkPackageKind
source§impl ValueType for SkPackageKind
impl ValueType for SkPackageKind
§type Type = SkPackageKind
type Type = SkPackageKind
Type to get the
Type
from. Read moreimpl Copy for SkPackageKind
impl Eq for SkPackageKind
impl StructuralEq for SkPackageKind
impl StructuralPartialEq for SkPackageKind
Auto Trait Implementations§
impl RefUnwindSafe for SkPackageKind
impl Send for SkPackageKind
impl Sync for SkPackageKind
impl Unpin for SkPackageKind
impl UnwindSafe for SkPackageKind
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.