Enum souk::main::flatpak::package::package_subref_kind::SkPackageSubrefKind
source · #[repr(u32)]
pub enum SkPackageSubrefKind {
Locale,
Debug,
Sources,
None,
}
Variants§
Trait Implementations§
source§impl Clone for SkPackageSubrefKind
impl Clone for SkPackageSubrefKind
source§fn clone(&self) -> SkPackageSubrefKind
fn clone(&self) -> SkPackageSubrefKind
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 SkPackageSubrefKind
impl Debug for SkPackageSubrefKind
source§impl Default for SkPackageSubrefKind
impl Default for SkPackageSubrefKind
source§fn default() -> SkPackageSubrefKind
fn default() -> SkPackageSubrefKind
Returns the “default value” for a type. Read more
source§impl From<&str> for SkPackageSubrefKind
impl From<&str> for SkPackageSubrefKind
source§impl From<SkPackageSubrefKind> for Value
impl From<SkPackageSubrefKind> for Value
source§fn from(v: SkPackageSubrefKind) -> Self
fn from(v: SkPackageSubrefKind) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for SkPackageSubrefKind
impl<'a> FromValue<'a> for SkPackageSubrefKind
§type Checker = GenericValueTypeChecker<SkPackageSubrefKind>
type Checker = GenericValueTypeChecker<SkPackageSubrefKind>
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 SkPackageSubrefKind
impl HasParamSpec for SkPackageSubrefKind
type ParamSpec = ParamSpecEnum
§type SetValue = SkPackageSubrefKind
type SetValue = SkPackageSubrefKind
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: SkPackageSubrefKind) -> ParamSpecEnumBuilder<'_, SkPackageSubrefKind>
fn param_spec_builder() -> Self::BuilderFn
source§impl PartialEq<SkPackageSubrefKind> for SkPackageSubrefKind
impl PartialEq<SkPackageSubrefKind> for SkPackageSubrefKind
source§fn eq(&self, other: &SkPackageSubrefKind) -> bool
fn eq(&self, other: &SkPackageSubrefKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl StaticType for SkPackageSubrefKind
impl StaticType for SkPackageSubrefKind
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for SkPackageSubrefKind
impl ToValue for SkPackageSubrefKind
source§impl TryFromGlib<i32> for SkPackageSubrefKind
impl TryFromGlib<i32> for SkPackageSubrefKind
source§impl ValueType for SkPackageSubrefKind
impl ValueType for SkPackageSubrefKind
§type Type = SkPackageSubrefKind
type Type = SkPackageSubrefKind
Type to get the
Type
from. Read moreimpl Copy for SkPackageSubrefKind
impl Eq for SkPackageSubrefKind
impl StructuralEq for SkPackageSubrefKind
impl StructuralPartialEq for SkPackageSubrefKind
Auto Trait Implementations§
impl RefUnwindSafe for SkPackageSubrefKind
impl Send for SkPackageSubrefKind
impl Sync for SkPackageSubrefKind
impl Unpin for SkPackageSubrefKind
impl UnwindSafe for SkPackageSubrefKind
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> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent 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
.