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