#[repr(u32)]pub enum TrEncryption {
Required = 0,
Preferred = 1,
Tolerated = 2,
}
Variants§
Trait Implementations§
source§impl Clone for TrEncryption
impl Clone for TrEncryption
source§fn clone(&self) -> TrEncryption
fn clone(&self) -> TrEncryption
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 TrEncryption
impl Debug for TrEncryption
source§impl Default for TrEncryption
impl Default for TrEncryption
source§fn default() -> TrEncryption
fn default() -> TrEncryption
Returns the “default value” for a type. Read more
source§impl From<Encryption> for TrEncryption
impl From<Encryption> for TrEncryption
source§fn from(enc: Encryption) -> Self
fn from(enc: Encryption) -> Self
Converts to this type from the input type.
source§impl From<TrEncryption> for Encryption
impl From<TrEncryption> for Encryption
source§fn from(val: TrEncryption) -> Self
fn from(val: TrEncryption) -> Self
Converts to this type from the input type.
source§impl From<TrEncryption> for Value
impl From<TrEncryption> for Value
source§fn from(v: TrEncryption) -> Self
fn from(v: TrEncryption) -> Self
Converts to this type from the input type.
source§impl From<u32> for TrEncryption
impl From<u32> for TrEncryption
source§impl<'a> FromValue<'a> for TrEncryption
impl<'a> FromValue<'a> for TrEncryption
§type Checker = GenericValueTypeChecker<TrEncryption>
type Checker = GenericValueTypeChecker<TrEncryption>
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 TrEncryption
impl HasParamSpec for TrEncryption
type ParamSpec = ParamSpecEnum
§type SetValue = TrEncryption
type SetValue = TrEncryption
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: TrEncryption) -> ParamSpecEnumBuilder<'_, TrEncryption>
fn param_spec_builder() -> Self::BuilderFn
source§impl PartialEq for TrEncryption
impl PartialEq for TrEncryption
source§fn eq(&self, other: &TrEncryption) -> bool
fn eq(&self, other: &TrEncryption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl StaticType for TrEncryption
impl StaticType for TrEncryption
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for TrEncryption
impl ToValue for TrEncryption
source§impl TryFromGlib<i32> for TrEncryption
impl TryFromGlib<i32> for TrEncryption
source§impl ValueType for TrEncryption
impl ValueType for TrEncryption
§type Type = TrEncryption
type Type = TrEncryption
Type to get the
Type
from. Read moreimpl Copy for TrEncryption
impl StructuralPartialEq for TrEncryption
Auto Trait Implementations§
impl Freeze for TrEncryption
impl RefUnwindSafe for TrEncryption
impl Send for TrEncryption
impl Sync for TrEncryption
impl Unpin for TrEncryption
impl UnwindSafe for TrEncryption
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
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
.