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