pub enum LoadState {
Unknown,
Loaded,
NotFound,
BadSetting,
Error,
Masked,
}Variants§
Implementations§
Trait Implementations§
Source§impl From<Option<&OwnedValue>> for LoadState
impl From<Option<&OwnedValue>> for LoadState
Source§fn from(value: Option<&OwnedValue>) -> Self
fn from(value: Option<&OwnedValue>) -> Self
Converts to this type from the input type.
Source§impl<'a> FromValue<'a> for LoadState
impl<'a> FromValue<'a> for LoadState
Source§type Checker = GenericValueTypeChecker<LoadState>
type Checker = GenericValueTypeChecker<LoadState>
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 LoadState
impl HasParamSpec for LoadState
Source§impl IntoEnumIterator for LoadState
impl IntoEnumIterator for LoadState
type Iterator = LoadStateIter
fn iter() -> LoadStateIter ⓘ
Source§impl Ord for LoadState
impl Ord for LoadState
Source§impl PartialOrd for LoadState
impl PartialOrd for LoadState
Source§impl StaticType for LoadState
impl StaticType for LoadState
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.Source§impl TryFromGlib<i32> for LoadState
impl TryFromGlib<i32> for LoadState
impl Copy for LoadState
impl Eq for LoadState
impl StructuralPartialEq for LoadState
Auto Trait Implementations§
impl Freeze for LoadState
impl RefUnwindSafe for LoadState
impl Send for LoadState
impl Sync for LoadState
impl Unpin for LoadState
impl UnsafeUnpin for LoadState
impl UnwindSafe for LoadState
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§impl<T> HasParamSpecDefaulted for Twhere
T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32> + HasParamSpec<ParamSpec = ParamSpecEnum> + Default,
impl<T> HasParamSpecDefaulted for Twhere
T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32> + HasParamSpec<ParamSpec = ParamSpecEnum> + Default,
type BuilderFnDefaulted = fn(&str) -> ParamSpecEnumBuilder<'_, T>
fn param_spec_builder_defaulted() -> <T as HasParamSpecDefaulted>::BuilderFnDefaulted
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> 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.