Struct Value

pub struct Value { /* private fields */ }
Expand description

A generic value capable of carrying various types.

Once created the type of the value can’t be changed.

Some types (e.g. String and objects) support None values while others (e.g. numeric types) don’t.

Value does not implement the Send trait, but SendValue can be used instead.

See the module documentation for more details.

GLib type: Inline allocated boxed type with stack copy semantics.

Implementations§

§

impl Value

pub fn as_ptr(&self) -> *mut GValue

pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GValue) -> &'a Value

Borrows the underlying C value.

pub unsafe fn from_glib_ptr_borrow_mut<'a>(ptr: *mut GValue) -> &'a mut Value

Borrows the underlying C value mutably.

§

impl Value

pub fn from_type(type_: Type) -> Value

Creates a new Value that is initialized with type_.

§Panics

If type_ can’t be stored in a Value this function panics.

pub unsafe fn from_type_unchecked(type_: Type) -> Value

Creates a new Value that is initialized with type_.

§SAFETY

This must be called with a valid type_ that can be stored in Values.

pub fn for_value_type<T>() -> Value
where T: ValueType,

Creates a new Value that is initialized for a given ValueType.

pub fn from_static_str(s: &'static GStr) -> Value

Creates a new String-typed Value from a 'static string.

pub fn from_interned_str(s: &'static GStr) -> Value

Creates a new String-typed Value from a 'static string that is also assumed to be interned.

pub fn get<'a, T>( &'a self, ) -> Result<T, <<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error>
where T: FromValue<'a>,

Tries to get a value of type T.

Returns Ok if the type is correct.

pub fn get_owned<T>( &self, ) -> Result<T, <<T as FromValue<'_>>::Checker as ValueTypeChecker>::Error>
where T: for<'b> FromValue<'b> + 'static,

Tries to get a value of an owned type T.

pub fn is<T>(&self) -> bool
where T: StaticType,

Returns true if the type of the value corresponds to T or is a sub-type of T.

pub fn is_type(&self, type_: Type) -> bool

Returns true if the type of the value corresponds to type_ or is a sub-type of type_.

pub fn type_(&self) -> Type

Returns the type of the value.

pub fn type_transformable(src: Type, dst: Type) -> bool

Returns whether Values of type src can be transformed to type dst.

pub fn transform<T>(&self) -> Result<Value, BoolError>
where T: ValueType,

Tries to transform the value into a value of the target type

pub fn transform_with_type(&self, type_: Type) -> Result<Value, BoolError>

Tries to transform the value into a value of the target type

pub fn into_raw(self) -> GValue

Consumes Value and returns the corresponding GValue.

pub fn try_into_send_value<T>(self) -> Result<SendValue, Value>
where T: Send + StaticType,

Converts a Value into a SendValue. This fails if self does not store a value of type T. It is required for T to be Send to call this function.

pub unsafe fn into_send_value(self) -> SendValue

Converts a Value into a SendValue.

§Safety

The type of the value contained in self must be Send.

Trait Implementations§

§

impl Clone for Value

§

fn clone(&self) -> Value

Copies the inline boxed type by value with the type-specific copy function.

1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Value

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Drop for Value

§

fn drop(&mut self)

Executes the destructor for this type. Read more
§

impl Extend<Value> for ValueArray

§

fn extend<T>(&mut self, iter: T)
where T: IntoIterator<Item = Value>,

Extends a collection with the contents of an iterator. Read more
Source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
Source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
§

impl<'a, T> From<&'a T> for Value
where T: ToValue + ?Sized,

§

fn from(value: &'a T) -> Value

Converts to this type from the input type.
§

impl From<*mut c_void> for Value

§

fn from(v: *mut c_void) -> Value

Converts to this type from the input type.
§

impl From<AccessibleAnnouncementPriority> for Value

§

fn from(v: AccessibleAnnouncementPriority) -> Value

Converts to this type from the input type.
§

impl From<AccessibleAutocomplete> for Value

§

fn from(v: AccessibleAutocomplete) -> Value

Converts to this type from the input type.
§

impl From<AccessibleInvalidState> for Value

§

fn from(v: AccessibleInvalidState) -> Value

Converts to this type from the input type.
§

impl From<AccessibleList> for Value

§

fn from(o: AccessibleList) -> Value

Converts to this type from the input type.
§

impl From<AccessiblePlatformState> for Value

§

fn from(v: AccessiblePlatformState) -> Value

Converts to this type from the input type.
§

impl From<AccessibleProperty> for Value

§

fn from(v: AccessibleProperty) -> Value

Converts to this type from the input type.
§

impl From<AccessibleRelation> for Value

§

fn from(v: AccessibleRelation) -> Value

Converts to this type from the input type.
§

impl From<AccessibleRole> for Value

§

fn from(v: AccessibleRole) -> Value

Converts to this type from the input type.
§

impl From<AccessibleSort> for Value

§

fn from(v: AccessibleSort) -> Value

Converts to this type from the input type.
§

impl From<AccessibleState> for Value

§

fn from(v: AccessibleState) -> Value

Converts to this type from the input type.
§

impl From<AccessibleTextContentChange> for Value

§

fn from(v: AccessibleTextContentChange) -> Value

Converts to this type from the input type.
§

impl From<AccessibleTextGranularity> for Value

§

fn from(v: AccessibleTextGranularity) -> Value

Converts to this type from the input type.
§

impl From<AccessibleTristate> for Value

§

fn from(v: AccessibleTristate) -> Value

Converts to this type from the input type.
§

impl From<Align> for Value

§

fn from(v: Align) -> Value

Converts to this type from the input type.
§

impl From<Alignment> for Value

§

fn from(v: Alignment) -> Value

Converts to this type from the input type.
§

impl From<AnchorHints> for Value

§

fn from(v: AnchorHints) -> Value

Converts to this type from the input type.
§

impl From<Antialias> for Value

§

fn from(v: Antialias) -> Value

Converts to this type from the input type.
§

impl From<AppInfoCreateFlags> for Value

§

fn from(v: AppInfoCreateFlags) -> Value

Converts to this type from the input type.
§

impl From<ApplicationFlags> for Value

§

fn from(v: ApplicationFlags) -> Value

Converts to this type from the input type.
§

impl From<ApplicationInhibitFlags> for Value

§

fn from(v: ApplicationInhibitFlags) -> Value

Converts to this type from the input type.
§

impl From<ArrowType> for Value

§

fn from(v: ArrowType) -> Value

Converts to this type from the input type.
§

impl From<AskPasswordFlags> for Value

§

fn from(v: AskPasswordFlags) -> Value

Converts to this type from the input type.
§

impl From<AssistantPageType> for Value

§

fn from(v: AssistantPageType) -> Value

Converts to this type from the input type.
§

impl From<AttrColor> for Value

§

fn from(o: AttrColor) -> Value

Converts to this type from the input type.
§

impl From<AttrFloat> for Value

§

fn from(o: AttrFloat) -> Value

Converts to this type from the input type.
§

impl From<AttrFontDesc> for Value

§

fn from(o: AttrFontDesc) -> Value

Converts to this type from the input type.
§

impl From<AttrFontFeatures> for Value

§

fn from(o: AttrFontFeatures) -> Value

Converts to this type from the input type.
§

impl From<AttrInt> for Value

§

fn from(o: AttrInt) -> Value

Converts to this type from the input type.
§

impl From<AttrLanguage> for Value

§

fn from(o: AttrLanguage) -> Value

Converts to this type from the input type.
§

impl From<AttrList> for Value

§

fn from(s: AttrList) -> Value

Converts to this type from the input type.
§

impl From<AttrShape> for Value

§

fn from(o: AttrShape) -> Value

Converts to this type from the input type.
§

impl From<AttrSize> for Value

§

fn from(o: AttrSize) -> Value

Converts to this type from the input type.
§

impl From<AttrString> for Value

§

fn from(o: AttrString) -> Value

Converts to this type from the input type.
§

impl From<AttrType> for Value

§

fn from(v: AttrType) -> Value

Converts to this type from the input type.
§

impl From<Attribute> for Value

§

fn from(o: Attribute) -> Value

Converts to this type from the input type.
§

impl From<AxisFlags> for Value

§

fn from(v: AxisFlags) -> Value

Converts to this type from the input type.
§

impl From<AxisUse> for Value

§

fn from(v: AxisUse) -> Value

Converts to this type from the input type.
§

impl From<BaselinePosition> for Value

§

fn from(v: BaselinePosition) -> Value

Converts to this type from the input type.
§

impl From<BaselineShift> for Value

§

fn from(v: BaselineShift) -> Value

Converts to this type from the input type.
§

impl From<BidiType> for Value

§

fn from(v: BidiType) -> Value

Converts to this type from the input type.
§

impl From<BindingFlags> for Value

§

fn from(v: BindingFlags) -> Value

Converts to this type from the input type.
§

impl From<Bitset> for Value

§

fn from(s: Bitset) -> Value

Converts to this type from the input type.
§

impl From<BlendMode> for Value

§

fn from(v: BlendMode) -> Value

Converts to this type from the input type.
§

impl From<BorderStyle> for Value

§

fn from(v: BorderStyle) -> Value

Converts to this type from the input type.
§

impl From<Box<str>> for Value

§

fn from(s: Box<str>) -> Value

Converts to this type from the input type.
§

impl From<BoxedValue> for Value

§

fn from(v: BoxedValue) -> Value

Converts to this type from the input type.
§

impl From<BuilderClosureFlags> for Value

§

fn from(v: BuilderClosureFlags) -> Value

Converts to this type from the input type.
§

impl From<BuilderError> for Value

§

fn from(v: BuilderError) -> Value

Converts to this type from the input type.
§

impl From<BusNameOwnerFlags> for Value

§

fn from(v: BusNameOwnerFlags) -> Value

Converts to this type from the input type.
§

impl From<BusNameWatcherFlags> for Value

§

fn from(v: BusNameWatcherFlags) -> Value

Converts to this type from the input type.
§

impl From<BusType> for Value

§

fn from(v: BusType) -> Value

Converts to this type from the input type.
§

impl From<ButtonsType> for Value

§

fn from(v: ButtonsType) -> Value

Converts to this type from the input type.
§

impl From<ByteArray> for Value

§

fn from(s: ByteArray) -> Value

Converts to this type from the input type.
§

impl From<Bytes> for Value

§

fn from(s: Bytes) -> Value

Converts to this type from the input type.
§

impl From<CellRendererAccelMode> for Value

§

fn from(v: CellRendererAccelMode) -> Value

Converts to this type from the input type.
§

impl From<CellRendererMode> for Value

§

fn from(v: CellRendererMode) -> Value

Converts to this type from the input type.
§

impl From<CellRendererState> for Value

§

fn from(v: CellRendererState) -> Value

Converts to this type from the input type.
§

impl From<Checksum> for Value

§

fn from(o: Checksum) -> Value

Converts to this type from the input type.
§

impl From<CicpRange> for Value

§

fn from(v: CicpRange) -> Value

Converts to this type from the input type.
§

impl From<Closure> for Value

§

fn from(s: Closure) -> Value

Converts to this type from the input type.
§

impl From<ClosureExpression> for Value

§

fn from(e: ClosureExpression) -> Value

Converts to this type from the input type.
§

impl From<Collation> for Value

§

fn from(v: Collation) -> Value

Converts to this type from the input type.
§

impl From<ColorState> for Value

§

fn from(s: ColorState) -> Value

Converts to this type from the input type.
§

impl From<Colorspace> for Value

§

fn from(v: Colorspace) -> Value

Converts to this type from the input type.
§

impl From<ConstantExpression> for Value

§

fn from(e: ConstantExpression) -> Value

Converts to this type from the input type.
§

impl From<ConstraintAttribute> for Value

§

fn from(v: ConstraintAttribute) -> Value

Converts to this type from the input type.
§

impl From<ConstraintRelation> for Value

§

fn from(v: ConstraintRelation) -> Value

Converts to this type from the input type.
§

impl From<ConstraintStrength> for Value

§

fn from(v: ConstraintStrength) -> Value

Converts to this type from the input type.
§

impl From<ConstraintVflParserError> for Value

§

fn from(v: ConstraintVflParserError) -> Value

Converts to this type from the input type.
§

impl From<Content> for Value

§

fn from(v: Content) -> Value

Converts to this type from the input type.
§

impl From<ContentFit> for Value

§

fn from(v: ContentFit) -> Value

Converts to this type from the input type.
§

impl From<ContentFormats> for Value

§

fn from(s: ContentFormats) -> Value

Converts to this type from the input type.
§

impl From<ContentFormatsBuilder> for Value

§

fn from(s: ContentFormatsBuilder) -> Value

Converts to this type from the input type.
§

impl From<Context> for Value

§

fn from(v: Context) -> Value

Converts to this type from the input type.
§

impl From<ControlFlow> for Value

§

fn from(v: ControlFlow) -> Value

Converts to this type from the input type.
§

impl From<ConverterFlags> for Value

§

fn from(v: ConverterFlags) -> Value

Converts to this type from the input type.
§

impl From<ConverterResult> for Value

§

fn from(v: ConverterResult) -> Value

Converts to this type from the input type.
§

impl From<Corner> for Value

§

fn from(v: Corner) -> Value

Converts to this type from the input type.
§

impl From<CornerType> for Value

§

fn from(v: CornerType) -> Value

Converts to this type from the input type.
§

impl From<CoverageLevel> for Value

§

fn from(v: CoverageLevel) -> Value

Converts to this type from the input type.
§

impl From<CredentialsType> for Value

§

fn from(v: CredentialsType) -> Value

Converts to this type from the input type.
§

impl From<CrossingMode> for Value

§

fn from(v: CrossingMode) -> Value

Converts to this type from the input type.
§

impl From<CssSection> for Value

§

fn from(s: CssSection) -> Value

Converts to this type from the input type.
§

impl From<DBusArgInfo> for Value

§

fn from(s: DBusArgInfo) -> Value

Converts to this type from the input type.
§

impl From<DBusCallFlags> for Value

§

fn from(v: DBusCallFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusCapabilityFlags> for Value

§

fn from(v: DBusCapabilityFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusConnectionFlags> for Value

§

fn from(v: DBusConnectionFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusError> for Value

§

fn from(v: DBusError) -> Value

Converts to this type from the input type.
§

impl From<DBusInterfaceInfo> for Value

§

fn from(s: DBusInterfaceInfo) -> Value

Converts to this type from the input type.
§

impl From<DBusInterfaceSkeletonFlags> for Value

§

fn from(v: DBusInterfaceSkeletonFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusMessageByteOrder> for Value

§

fn from(v: DBusMessageByteOrder) -> Value

Converts to this type from the input type.
§

impl From<DBusMessageFlags> for Value

§

fn from(v: DBusMessageFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusMessageHeaderField> for Value

§

fn from(v: DBusMessageHeaderField) -> Value

Converts to this type from the input type.
§

impl From<DBusMessageType> for Value

§

fn from(v: DBusMessageType) -> Value

Converts to this type from the input type.
§

impl From<DBusMethodInfo> for Value

§

fn from(s: DBusMethodInfo) -> Value

Converts to this type from the input type.
§

impl From<DBusNodeInfo> for Value

§

fn from(s: DBusNodeInfo) -> Value

Converts to this type from the input type.
§

impl From<DBusObjectManagerClientFlags> for Value

§

fn from(v: DBusObjectManagerClientFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusPropertyInfo> for Value

§

fn from(s: DBusPropertyInfo) -> Value

Converts to this type from the input type.
§

impl From<DBusPropertyInfoFlags> for Value

§

fn from(v: DBusPropertyInfoFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusProxyFlags> for Value

§

fn from(v: DBusProxyFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusSendMessageFlags> for Value

§

fn from(v: DBusSendMessageFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusServerFlags> for Value

§

fn from(v: DBusServerFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusSignalFlags> for Value

§

fn from(v: DBusSignalFlags) -> Value

Converts to this type from the input type.
§

impl From<DBusSignalInfo> for Value

§

fn from(s: DBusSignalInfo) -> Value

Converts to this type from the input type.
§

impl From<DBusSubtreeFlags> for Value

§

fn from(v: DBusSubtreeFlags) -> Value

Converts to this type from the input type.
§

impl From<DataStreamByteOrder> for Value

§

fn from(v: DataStreamByteOrder) -> Value

Converts to this type from the input type.
§

impl From<DataStreamNewlineType> for Value

§

fn from(v: DataStreamNewlineType) -> Value

Converts to this type from the input type.
§

impl From<DateTime> for Value

§

fn from(s: DateTime) -> Value

Converts to this type from the input type.
§

impl From<DebugFlags> for Value

§

fn from(v: DebugFlags) -> Value

Converts to this type from the input type.
§

impl From<DeleteType> for Value

§

fn from(v: DeleteType) -> Value

Converts to this type from the input type.
§

impl From<Device> for Value

§

fn from(v: Device) -> Value

Converts to this type from the input type.
§

impl From<DevicePadFeature> for Value

§

fn from(v: DevicePadFeature) -> Value

Converts to this type from the input type.
§

impl From<DeviceToolType> for Value

§

fn from(v: DeviceToolType) -> Value

Converts to this type from the input type.
§

impl From<DeviceType> for Value

§

fn from(v: DeviceType) -> Value

Converts to this type from the input type.
§

impl From<DialogError> for Value

§

fn from(v: DialogError) -> Value

Converts to this type from the input type.
§

impl From<DialogFlags> for Value

§

fn from(v: DialogFlags) -> Value

Converts to this type from the input type.
§

impl From<Direction> for Value

§

fn from(v: Direction) -> Value

Converts to this type from the input type.
§

impl From<DirectionType> for Value

§

fn from(v: DirectionType) -> Value

Converts to this type from the input type.
§

impl From<DmabufError> for Value

§

fn from(v: DmabufError) -> Value

Converts to this type from the input type.
§

impl From<DmabufFormats> for Value

§

fn from(s: DmabufFormats) -> Value

Converts to this type from the input type.
§

impl From<DragAction> for Value

§

fn from(v: DragAction) -> Value

Converts to this type from the input type.
§

impl From<DragCancelReason> for Value

§

fn from(v: DragCancelReason) -> Value

Converts to this type from the input type.
§

impl From<DriveStartFlags> for Value

§

fn from(v: DriveStartFlags) -> Value

Converts to this type from the input type.
§

impl From<DriveStartStopType> for Value

§

fn from(v: DriveStartStopType) -> Value

Converts to this type from the input type.
§

impl From<EditableProperties> for Value

§

fn from(v: EditableProperties) -> Value

Converts to this type from the input type.
§

impl From<EllipsizeMode> for Value

§

fn from(v: EllipsizeMode) -> Value

Converts to this type from the input type.
§

impl From<EmblemOrigin> for Value

§

fn from(v: EmblemOrigin) -> Value

Converts to this type from the input type.
§

impl From<EntryIconPosition> for Value

§

fn from(v: EntryIconPosition) -> Value

Converts to this type from the input type.
§

impl From<Error> for Value

§

fn from(o: Error) -> Value

Converts to this type from the input type.
§

impl From<EventControllerScrollFlags> for Value

§

fn from(v: EventControllerScrollFlags) -> Value

Converts to this type from the input type.
§

impl From<EventSequence> for Value

§

fn from(o: EventSequence) -> Value

Converts to this type from the input type.
§

impl From<EventSequenceState> for Value

§

fn from(v: EventSequenceState) -> Value

Converts to this type from the input type.
§

impl From<EventType> for Value

§

fn from(v: EventType) -> Value

Converts to this type from the input type.
§

impl From<Expression> for Value

§

fn from(e: Expression) -> Value

Converts to this type from the input type.
§

impl From<Extend> for Value

§

fn from(v: Extend) -> Value

Converts to this type from the input type.
§

impl From<FileAttributeInfoFlags> for Value

§

fn from(v: FileAttributeInfoFlags) -> Value

Converts to this type from the input type.
§

impl From<FileAttributeInfoList> for Value

§

fn from(s: FileAttributeInfoList) -> Value

Converts to this type from the input type.
§

impl From<FileAttributeMatcher> for Value

§

fn from(s: FileAttributeMatcher) -> Value

Converts to this type from the input type.
§

impl From<FileAttributeStatus> for Value

§

fn from(v: FileAttributeStatus) -> Value

Converts to this type from the input type.
§

impl From<FileAttributeType> for Value

§

fn from(v: FileAttributeType) -> Value

Converts to this type from the input type.
§

impl From<FileChooserAction> for Value

§

fn from(v: FileChooserAction) -> Value

Converts to this type from the input type.
§

impl From<FileChooserError> for Value

§

fn from(v: FileChooserError) -> Value

Converts to this type from the input type.
§

impl From<FileCopyFlags> for Value

§

fn from(v: FileCopyFlags) -> Value

Converts to this type from the input type.
§

impl From<FileCreateFlags> for Value

§

fn from(v: FileCreateFlags) -> Value

Converts to this type from the input type.
§

impl From<FileList> for Value

§

fn from(o: FileList) -> Value

Converts to this type from the input type.
§

impl From<FileMeasureFlags> for Value

§

fn from(v: FileMeasureFlags) -> Value

Converts to this type from the input type.
§

impl From<FileMonitorEvent> for Value

§

fn from(v: FileMonitorEvent) -> Value

Converts to this type from the input type.
§

impl From<FileMonitorFlags> for Value

§

fn from(v: FileMonitorFlags) -> Value

Converts to this type from the input type.
§

impl From<FileQueryInfoFlags> for Value

§

fn from(v: FileQueryInfoFlags) -> Value

Converts to this type from the input type.
§

impl From<FileType> for Value

§

fn from(v: FileType) -> Value

Converts to this type from the input type.
§

impl From<FilesystemPreviewType> for Value

§

fn from(v: FilesystemPreviewType) -> Value

Converts to this type from the input type.
§

impl From<FillRule> for Value

§

fn from(v: FillRule) -> Value

Converts to this type from the input type.
§

impl From<FillRule> for Value

§

fn from(v: FillRule) -> Value

Converts to this type from the input type.
§

impl From<Filter> for Value

§

fn from(v: Filter) -> Value

Converts to this type from the input type.
§

impl From<FilterChange> for Value

§

fn from(v: FilterChange) -> Value

Converts to this type from the input type.
§

impl From<FilterMatch> for Value

§

fn from(v: FilterMatch) -> Value

Converts to this type from the input type.
§

impl From<FontChooserLevel> for Value

§

fn from(v: FontChooserLevel) -> Value

Converts to this type from the input type.
§

impl From<FontDescription> for Value

§

fn from(o: FontDescription) -> Value

Converts to this type from the input type.
§

impl From<FontFace> for Value

§

fn from(s: FontFace) -> Value

Converts to this type from the input type.
§

impl From<FontLevel> for Value

§

fn from(v: FontLevel) -> Value

Converts to this type from the input type.
§

impl From<FontMask> for Value

§

fn from(v: FontMask) -> Value

Converts to this type from the input type.
§

impl From<FontMetrics> for Value

§

fn from(s: FontMetrics) -> Value

Converts to this type from the input type.
§

impl From<FontOptions> for Value

§

fn from(o: FontOptions) -> Value

Converts to this type from the input type.
§

impl From<FontRendering> for Value

§

fn from(v: FontRendering) -> Value

Converts to this type from the input type.
§

impl From<FontScale> for Value

§

fn from(v: FontScale) -> Value

Converts to this type from the input type.
§

impl From<FontSlant> for Value

§

fn from(v: FontSlant) -> Value

Converts to this type from the input type.
§

impl From<FontType> for Value

§

fn from(v: FontType) -> Value

Converts to this type from the input type.
§

impl From<FontWeight> for Value

§

fn from(v: FontWeight) -> Value

Converts to this type from the input type.
§

impl From<Format> for Value

§

fn from(v: Format) -> Value

Converts to this type from the input type.
§

impl From<FrameClockPhase> for Value

§

fn from(v: FrameClockPhase) -> Value

Converts to this type from the input type.
§

impl From<FrameTimings> for Value

§

fn from(s: FrameTimings) -> Value

Converts to this type from the input type.
§

impl From<FullscreenMode> for Value

§

fn from(v: FullscreenMode) -> Value

Converts to this type from the input type.
§

impl From<GLAPI> for Value

§

fn from(v: GLAPI) -> Value

Converts to this type from the input type.
§

impl From<GLError> for Value

§

fn from(v: GLError) -> Value

Converts to this type from the input type.
§

impl From<GLUniformType> for Value

§

fn from(v: GLUniformType) -> Value

Converts to this type from the input type.
§

impl From<GString> for Value

§

fn from(s: GString) -> Value

Converts to this type from the input type.
§

impl From<GlyphItem> for Value

§

fn from(o: GlyphItem) -> Value

Converts to this type from the input type.
§

impl From<GlyphString> for Value

§

fn from(o: GlyphString) -> Value

Converts to this type from the input type.
§

impl From<GraphicsOffloadEnabled> for Value

§

fn from(v: GraphicsOffloadEnabled) -> Value

Converts to this type from the input type.
§

impl From<Gravity> for Value

§

fn from(v: Gravity) -> Value

Converts to this type from the input type.
§

impl From<Gravity> for Value

§

fn from(v: Gravity) -> Value

Converts to this type from the input type.
§

impl From<GravityHint> for Value

§

fn from(v: GravityHint) -> Value

Converts to this type from the input type.
§

impl From<HintMetrics> for Value

§

fn from(v: HintMetrics) -> Value

Converts to this type from the input type.
§

impl From<HintStyle> for Value

§

fn from(v: HintStyle) -> Value

Converts to this type from the input type.
§

impl From<ILong> for Value

§

fn from(v: ILong) -> Value

Converts to this type from the input type.
§

impl From<IOCondition> for Value

§

fn from(v: IOCondition) -> Value

Converts to this type from the input type.
§

impl From<IOErrorEnum> for Value

§

fn from(v: IOErrorEnum) -> Value

Converts to this type from the input type.
§

impl From<IOModuleScopeFlags> for Value

§

fn from(v: IOModuleScopeFlags) -> Value

Converts to this type from the input type.
§

impl From<IOStreamSpliceFlags> for Value

§

fn from(v: IOStreamSpliceFlags) -> Value

Converts to this type from the input type.
§

impl From<IconLookupFlags> for Value

§

fn from(v: IconLookupFlags) -> Value

Converts to this type from the input type.
§

impl From<IconSize> for Value

§

fn from(v: IconSize) -> Value

Converts to this type from the input type.
§

impl From<IconThemeError> for Value

§

fn from(v: IconThemeError) -> Value

Converts to this type from the input type.
§

impl From<IconViewDropPosition> for Value

§

fn from(v: IconViewDropPosition) -> Value

Converts to this type from the input type.
§

impl From<ImageSurface> for Value

§

fn from(v: ImageSurface) -> Value

Converts to this type from the input type.
§

impl From<ImageType> for Value

§

fn from(v: ImageType) -> Value

Converts to this type from the input type.
§

impl From<InputHints> for Value

§

fn from(v: InputHints) -> Value

Converts to this type from the input type.
§

impl From<InputPurpose> for Value

§

fn from(v: InputPurpose) -> Value

Converts to this type from the input type.
§

impl From<InputSource> for Value

§

fn from(v: InputSource) -> Value

Converts to this type from the input type.
§

impl From<InscriptionOverflow> for Value

§

fn from(v: InscriptionOverflow) -> Value

Converts to this type from the input type.
§

impl From<InterpType> for Value

§

fn from(v: InterpType) -> Value

Converts to this type from the input type.
§

impl From<Item> for Value

§

fn from(o: Item) -> Value

Converts to this type from the input type.
§

impl From<Justification> for Value

§

fn from(v: Justification) -> Value

Converts to this type from the input type.
§

impl From<Key> for Value

§

fn from(k: Key) -> Value

Converts to this type from the input type.
§

impl From<KeyFile> for Value

§

fn from(s: KeyFile) -> Value

Converts to this type from the input type.
§

impl From<KeyMatch> for Value

§

fn from(v: KeyMatch) -> Value

Converts to this type from the input type.
§

impl From<Language> for Value

§

fn from(o: Language) -> Value

Converts to this type from the input type.
§

impl From<LayoutDeserializeError> for Value

§

fn from(v: LayoutDeserializeError) -> Value

Converts to this type from the input type.
§

impl From<LayoutDeserializeFlags> for Value

§

fn from(v: LayoutDeserializeFlags) -> Value

Converts to this type from the input type.
§

impl From<LayoutIter> for Value

§

fn from(o: LayoutIter) -> Value

Converts to this type from the input type.
§

impl From<LayoutLine> for Value

§

fn from(s: LayoutLine) -> Value

Converts to this type from the input type.
§

impl From<LayoutSerializeFlags> for Value

§

fn from(v: LayoutSerializeFlags) -> Value

Converts to this type from the input type.
§

impl From<LevelBarMode> for Value

§

fn from(v: LevelBarMode) -> Value

Converts to this type from the input type.
§

impl From<License> for Value

§

fn from(v: License) -> Value

Converts to this type from the input type.
§

impl From<LineCap> for Value

§

fn from(v: LineCap) -> Value

Converts to this type from the input type.
§

impl From<LineCap> for Value

§

fn from(v: LineCap) -> Value

Converts to this type from the input type.
§

impl From<LineJoin> for Value

§

fn from(v: LineJoin) -> Value

Converts to this type from the input type.
§

impl From<LineJoin> for Value

§

fn from(v: LineJoin) -> Value

Converts to this type from the input type.
§

impl From<ListScrollFlags> for Value

§

fn from(v: ListScrollFlags) -> Value

Converts to this type from the input type.
§

impl From<ListTabBehavior> for Value

§

fn from(v: ListTabBehavior) -> Value

Converts to this type from the input type.
§

impl From<MainContext> for Value

§

fn from(s: MainContext) -> Value

Converts to this type from the input type.
§

impl From<MainLoop> for Value

§

fn from(s: MainLoop) -> Value

Converts to this type from the input type.
§

impl From<MarkupParseContext> for Value

§

fn from(s: MarkupParseContext) -> Value

Converts to this type from the input type.
§

impl From<MaskMode> for Value

§

fn from(v: MaskMode) -> Value

Converts to this type from the input type.
§

impl From<MatchInfo<'static>> for Value

§

fn from(s: MatchInfo<'static>) -> Value

Converts to this type from the input type.
§

impl From<MemoryFormat> for Value

§

fn from(v: MemoryFormat) -> Value

Converts to this type from the input type.
§

impl From<MemoryMonitorWarningLevel> for Value

§

fn from(v: MemoryMonitorWarningLevel) -> Value

Converts to this type from the input type.
§

impl From<MessageType> for Value

§

fn from(v: MessageType) -> Value

Converts to this type from the input type.
§

impl From<ModifierType> for Value

§

fn from(v: ModifierType) -> Value

Converts to this type from the input type.
§

impl From<MountMountFlags> for Value

§

fn from(v: MountMountFlags) -> Value

Converts to this type from the input type.
§

impl From<MountOperationResult> for Value

§

fn from(v: MountOperationResult) -> Value

Converts to this type from the input type.
§

impl From<MountUnmountFlags> for Value

§

fn from(v: MountUnmountFlags) -> Value

Converts to this type from the input type.
§

impl From<MovementStep> for Value

§

fn from(v: MovementStep) -> Value

Converts to this type from the input type.
§

impl From<NaturalWrapMode> for Value

§

fn from(v: NaturalWrapMode) -> Value

Converts to this type from the input type.
§

impl From<NetworkConnectivity> for Value

§

fn from(v: NetworkConnectivity) -> Value

Converts to this type from the input type.
§

impl From<NonNull<c_void>> for Value

§

fn from(v: NonNull<c_void>) -> Value

Converts to this type from the input type.
§

impl From<NonZero<i32>> for Value

§

fn from(v: NonZero<i32>) -> Value

Converts to this type from the input type.
§

impl From<NonZero<i64>> for Value

§

fn from(v: NonZero<i64>) -> Value

Converts to this type from the input type.
§

impl From<NonZero<i8>> for Value

§

fn from(v: NonZero<i8>) -> Value

Converts to this type from the input type.
§

impl From<NonZero<u32>> for Value

§

fn from(v: NonZero<u32>) -> Value

Converts to this type from the input type.
§

impl From<NonZero<u64>> for Value

§

fn from(v: NonZero<u64>) -> Value

Converts to this type from the input type.
§

impl From<NonZero<u8>> for Value

§

fn from(v: NonZero<u8>) -> Value

Converts to this type from the input type.
§

impl From<NormalizeMode> for Value

§

fn from(v: NormalizeMode) -> Value

Converts to this type from the input type.
§

impl From<NotebookTab> for Value

§

fn from(v: NotebookTab) -> Value

Converts to this type from the input type.
§

impl From<NotificationPriority> for Value

§

fn from(v: NotificationPriority) -> Value

Converts to this type from the input type.
§

impl From<NotifyType> for Value

§

fn from(v: NotifyType) -> Value

Converts to this type from the input type.
§

impl From<NumberUpLayout> for Value

§

fn from(v: NumberUpLayout) -> Value

Converts to this type from the input type.
§

impl From<ObjectExpression> for Value

§

fn from(e: ObjectExpression) -> Value

Converts to this type from the input type.
§

impl From<Operator> for Value

§

fn from(v: Operator) -> Value

Converts to this type from the input type.
§

impl<T> From<Option<T>> for Value

§

fn from(t: Option<T>) -> Value

Converts to this type from the input type.
§

impl From<Ordering> for Value

§

fn from(v: Ordering) -> Value

Converts to this type from the input type.
§

impl From<Orientation> for Value

§

fn from(v: Orientation) -> Value

Converts to this type from the input type.
§

impl From<OutputStreamSpliceFlags> for Value

§

fn from(v: OutputStreamSpliceFlags) -> Value

Converts to this type from the input type.
§

impl From<Overflow> for Value

§

fn from(v: Overflow) -> Value

Converts to this type from the input type.
§

impl From<Overline> for Value

§

fn from(v: Overline) -> Value

Converts to this type from the input type.
§

impl From<PackType> for Value

§

fn from(v: PackType) -> Value

Converts to this type from the input type.
§

impl From<PadActionType> for Value

§

fn from(v: PadActionType) -> Value

Converts to this type from the input type.
§

impl From<PageOrientation> for Value

§

fn from(v: PageOrientation) -> Value

Converts to this type from the input type.
§

impl From<PageSet> for Value

§

fn from(v: PageSet) -> Value

Converts to this type from the input type.
§

impl From<PaintableFlags> for Value

§

fn from(v: PaintableFlags) -> Value

Converts to this type from the input type.
§

impl From<PanDirection> for Value

§

fn from(v: PanDirection) -> Value

Converts to this type from the input type.
§

impl From<PaperSize> for Value

§

fn from(o: PaperSize) -> Value

Converts to this type from the input type.
§

impl From<PasswordSave> for Value

§

fn from(v: PasswordSave) -> Value

Converts to this type from the input type.
§

impl From<Path> for Value

§

fn from(s: Path) -> Value

Converts to this type from the input type.
§

impl From<PathBuf> for Value

§

fn from(s: PathBuf) -> Value

Converts to this type from the input type.
§

impl From<PathBuilder> for Value

§

fn from(s: PathBuilder) -> Value

Converts to this type from the input type.
§

impl From<PathDataType> for Value

§

fn from(v: PathDataType) -> Value

Converts to this type from the input type.
§

impl From<PathDirection> for Value

§

fn from(v: PathDirection) -> Value

Converts to this type from the input type.
§

impl From<PathForeachFlags> for Value

§

fn from(v: PathForeachFlags) -> Value

Converts to this type from the input type.
§

impl From<PathMeasure> for Value

§

fn from(s: PathMeasure) -> Value

Converts to this type from the input type.
§

impl From<PathOperation> for Value

§

fn from(v: PathOperation) -> Value

Converts to this type from the input type.
§

impl From<PatternType> for Value

§

fn from(v: PatternType) -> Value

Converts to this type from the input type.
§

impl From<PickFlags> for Value

§

fn from(v: PickFlags) -> Value

Converts to this type from the input type.
§

impl From<PixbufAlphaMode> for Value

§

fn from(v: PixbufAlphaMode) -> Value

Converts to this type from the input type.
§

impl From<PixbufError> for Value

§

fn from(v: PixbufError) -> Value

Converts to this type from the input type.
§

impl From<PixbufFormat> for Value

§

fn from(o: PixbufFormat) -> Value

Converts to this type from the input type.
§

impl From<PixbufRotation> for Value

§

fn from(v: PixbufRotation) -> Value

Converts to this type from the input type.
§

impl From<PolicyType> for Value

§

fn from(v: PolicyType) -> Value

Converts to this type from the input type.
§

impl From<PollableReturn> for Value

§

fn from(v: PollableReturn) -> Value

Converts to this type from the input type.
§

impl From<PopoverMenuFlags> for Value

§

fn from(v: PopoverMenuFlags) -> Value

Converts to this type from the input type.
§

impl From<PopupLayout> for Value

§

fn from(s: PopupLayout) -> Value

Converts to this type from the input type.
§

impl From<PositionType> for Value

§

fn from(v: PositionType) -> Value

Converts to this type from the input type.
§

impl From<PrintCapabilities> for Value

§

fn from(v: PrintCapabilities) -> Value

Converts to this type from the input type.
§

impl From<PrintDuplex> for Value

§

fn from(v: PrintDuplex) -> Value

Converts to this type from the input type.
§

impl From<PrintError> for Value

§

fn from(v: PrintError) -> Value

Converts to this type from the input type.
§

impl From<PrintOperationAction> for Value

§

fn from(v: PrintOperationAction) -> Value

Converts to this type from the input type.
§

impl From<PrintOperationResult> for Value

§

fn from(v: PrintOperationResult) -> Value

Converts to this type from the input type.
§

impl From<PrintPages> for Value

§

fn from(v: PrintPages) -> Value

Converts to this type from the input type.
§

impl From<PrintQuality> for Value

§

fn from(v: PrintQuality) -> Value

Converts to this type from the input type.
§

impl From<PrintSetup> for Value

§

fn from(s: PrintSetup) -> Value

Converts to this type from the input type.
§

impl From<PrintStatus> for Value

§

fn from(v: PrintStatus) -> Value

Converts to this type from the input type.
§

impl From<Propagation> for Value

§

fn from(v: Propagation) -> Value

Converts to this type from the input type.
§

impl From<PropagationLimit> for Value

§

fn from(v: PropagationLimit) -> Value

Converts to this type from the input type.
§

impl From<PropagationPhase> for Value

§

fn from(v: PropagationPhase) -> Value

Converts to this type from the input type.
§

impl From<PropertyExpression> for Value

§

fn from(e: PropertyExpression) -> Value

Converts to this type from the input type.
§

impl From<RecentInfo> for Value

§

fn from(s: RecentInfo) -> Value

Converts to this type from the input type.
§

impl From<RecentManagerError> for Value

§

fn from(v: RecentManagerError) -> Value

Converts to this type from the input type.
§

impl From<RecordingSurface> for Value

§

fn from(v: RecordingSurface) -> Value

Converts to this type from the input type.
§

impl From<Regex> for Value

§

fn from(s: Regex) -> Value

Converts to this type from the input type.
§

impl From<Region> for Value

§

fn from(v: Region) -> Value

Converts to this type from the input type.
§

impl From<RegionOverlap> for Value

§

fn from(v: RegionOverlap) -> Value

Converts to this type from the input type.
§

impl From<RenderNodeType> for Value

§

fn from(v: RenderNodeType) -> Value

Converts to this type from the input type.
§

impl From<RenderPart> for Value

§

fn from(v: RenderPart) -> Value

Converts to this type from the input type.
§

impl From<ResolverError> for Value

§

fn from(v: ResolverError) -> Value

Converts to this type from the input type.
§

impl From<ResolverNameLookupFlags> for Value

§

fn from(v: ResolverNameLookupFlags) -> Value

Converts to this type from the input type.
§

impl From<ResolverRecordType> for Value

§

fn from(v: ResolverRecordType) -> Value

Converts to this type from the input type.
§

impl From<Resource> for Value

§

fn from(s: Resource) -> Value

Converts to this type from the input type.
§

impl From<ResourceError> for Value

§

fn from(v: ResourceError) -> Value

Converts to this type from the input type.
§

impl From<ResourceFlags> for Value

§

fn from(v: ResourceFlags) -> Value

Converts to this type from the input type.
§

impl From<ResourceLookupFlags> for Value

§

fn from(v: ResourceLookupFlags) -> Value

Converts to this type from the input type.
§

impl From<ResponseType> for Value

§

fn from(t: ResponseType) -> Value

Converts to this type from the input type.
§

impl From<RevealerTransitionType> for Value

§

fn from(v: RevealerTransitionType) -> Value

Converts to this type from the input type.
§

impl From<ScaledFont> for Value

§

fn from(s: ScaledFont) -> Value

Converts to this type from the input type.
§

impl From<ScalingFilter> for Value

§

fn from(v: ScalingFilter) -> Value

Converts to this type from the input type.
§

impl From<Script> for Value

§

fn from(v: Script) -> Value

Converts to this type from the input type.
§

impl From<ScrollDirection> for Value

§

fn from(v: ScrollDirection) -> Value

Converts to this type from the input type.
§

impl From<ScrollInfo> for Value

§

fn from(s: ScrollInfo) -> Value

Converts to this type from the input type.
§

impl From<ScrollStep> for Value

§

fn from(v: ScrollStep) -> Value

Converts to this type from the input type.
§

impl From<ScrollType> for Value

§

fn from(v: ScrollType) -> Value

Converts to this type from the input type.
§

impl From<ScrollUnit> for Value

§

fn from(v: ScrollUnit) -> Value

Converts to this type from the input type.
§

impl From<ScrollablePolicy> for Value

§

fn from(v: ScrollablePolicy) -> Value

Converts to this type from the input type.
§

impl From<SeatCapabilities> for Value

§

fn from(v: SeatCapabilities) -> Value

Converts to this type from the input type.
§

impl From<SelectionMode> for Value

§

fn from(v: SelectionMode) -> Value

Converts to this type from the input type.
§

impl From<SendValue> for Value

§

fn from(value: SendValue) -> Value

Converts to this type from the input type.
§

impl From<SensitivityType> for Value

§

fn from(v: SensitivityType) -> Value

Converts to this type from the input type.
§

impl From<SerializationError> for Value

§

fn from(v: SerializationError) -> Value

Converts to this type from the input type.
§

impl From<SettingsBindFlags> for Value

§

fn from(v: SettingsBindFlags) -> Value

Converts to this type from the input type.
§

impl From<SettingsSchema> for Value

§

fn from(s: SettingsSchema) -> Value

Converts to this type from the input type.
§

impl From<SettingsSchemaKey> for Value

§

fn from(s: SettingsSchemaKey) -> Value

Converts to this type from the input type.
§

impl From<SettingsSchemaSource> for Value

§

fn from(s: SettingsSchemaSource) -> Value

Converts to this type from the input type.
§

impl From<ShaderArgsBuilder> for Value

§

fn from(s: ShaderArgsBuilder) -> Value

Converts to this type from the input type.
§

impl From<ShapeFlags> for Value

§

fn from(v: ShapeFlags) -> Value

Converts to this type from the input type.
§

impl From<ShortcutActionFlags> for Value

§

fn from(v: ShortcutActionFlags) -> Value

Converts to this type from the input type.
§

impl From<ShortcutScope> for Value

§

fn from(v: ShortcutScope) -> Value

Converts to this type from the input type.
§

impl From<ShortcutType> for Value

§

fn from(v: ShortcutType) -> Value

Converts to this type from the input type.
§

impl From<ShowFlags> for Value

§

fn from(v: ShowFlags) -> Value

Converts to this type from the input type.
§

impl From<SizeGroupMode> for Value

§

fn from(v: SizeGroupMode) -> Value

Converts to this type from the input type.
§

impl From<SizeRequestMode> for Value

§

fn from(v: SizeRequestMode) -> Value

Converts to this type from the input type.
§

impl From<SocketClientEvent> for Value

§

fn from(v: SocketClientEvent) -> Value

Converts to this type from the input type.
§

impl From<SocketFamily> for Value

§

fn from(v: SocketFamily) -> Value

Converts to this type from the input type.
§

impl From<SocketListenerEvent> for Value

§

fn from(v: SocketListenerEvent) -> Value

Converts to this type from the input type.
§

impl From<SocketProtocol> for Value

§

fn from(v: SocketProtocol) -> Value

Converts to this type from the input type.
§

impl From<SocketType> for Value

§

fn from(v: SocketType) -> Value

Converts to this type from the input type.
§

impl From<SortType> for Value

§

fn from(v: SortType) -> Value

Converts to this type from the input type.
§

impl From<SorterChange> for Value

§

fn from(v: SorterChange) -> Value

Converts to this type from the input type.
§

impl From<SorterOrder> for Value

§

fn from(v: SorterOrder) -> Value

Converts to this type from the input type.
§

impl From<Source> for Value

§

fn from(s: Source) -> Value

Converts to this type from the input type.
§

impl From<SpinButtonUpdatePolicy> for Value

§

fn from(v: SpinButtonUpdatePolicy) -> Value

Converts to this type from the input type.
§

impl From<SpinType> for Value

§

fn from(v: SpinType) -> Value

Converts to this type from the input type.
§

impl From<SrvTarget> for Value

§

fn from(o: SrvTarget) -> Value

Converts to this type from the input type.
§

impl From<StackTransitionType> for Value

§

fn from(v: StackTransitionType) -> Value

Converts to this type from the input type.
§

impl From<StateFlags> for Value

§

fn from(v: StateFlags) -> Value

Converts to this type from the input type.
§

impl From<StrV> for Value

§

fn from(s: StrV) -> Value

Converts to this type from the input type.
§

impl From<Stretch> for Value

§

fn from(v: Stretch) -> Value

Converts to this type from the input type.
§

impl From<String> for Value

§

fn from(s: String) -> Value

Converts to this type from the input type.
§

impl From<StringFilterMatchMode> for Value

§

fn from(v: StringFilterMatchMode) -> Value

Converts to this type from the input type.
§

impl From<Stroke> for Value

§

fn from(o: Stroke) -> Value

Converts to this type from the input type.
§

impl From<Style> for Value

§

fn from(v: Style) -> Value

Converts to this type from the input type.
§

impl From<StyleContextPrintFlags> for Value

§

fn from(v: StyleContextPrintFlags) -> Value

Converts to this type from the input type.
§

impl From<SubpixelLayout> for Value

§

fn from(v: SubpixelLayout) -> Value

Converts to this type from the input type.
§

impl From<SubpixelOrder> for Value

§

fn from(v: SubpixelOrder) -> Value

Converts to this type from the input type.
§

impl From<SubprocessFlags> for Value

§

fn from(v: SubprocessFlags) -> Value

Converts to this type from the input type.
§

impl From<Surface> for Value

§

fn from(v: Surface) -> Value

Converts to this type from the input type.
§

impl From<SurfaceEdge> for Value

§

fn from(v: SurfaceEdge) -> Value

Converts to this type from the input type.
§

impl From<SurfaceType> for Value

§

fn from(v: SurfaceType) -> Value

Converts to this type from the input type.
§

impl From<SymbolicColor> for Value

§

fn from(v: SymbolicColor) -> Value

Converts to this type from the input type.
§

impl From<SystemSetting> for Value

§

fn from(v: SystemSetting) -> Value

Converts to this type from the input type.
§

impl From<TabAlign> for Value

§

fn from(v: TabAlign) -> Value

Converts to this type from the input type.
§

impl From<TabArray> for Value

§

fn from(o: TabArray) -> Value

Converts to this type from the input type.
§

impl From<TestDBusFlags> for Value

§

fn from(v: TestDBusFlags) -> Value

Converts to this type from the input type.
§

impl From<TextBufferNotifyFlags> for Value

§

fn from(v: TextBufferNotifyFlags) -> Value

Converts to this type from the input type.
§

impl From<TextClusterFlags> for Value

§

fn from(v: TextClusterFlags) -> Value

Converts to this type from the input type.
§

impl From<TextDirection> for Value

§

fn from(v: TextDirection) -> Value

Converts to this type from the input type.
§

impl From<TextExtendSelection> for Value

§

fn from(v: TextExtendSelection) -> Value

Converts to this type from the input type.
§

impl From<TextSearchFlags> for Value

§

fn from(v: TextSearchFlags) -> Value

Converts to this type from the input type.
§

impl From<TextTransform> for Value

§

fn from(v: TextTransform) -> Value

Converts to this type from the input type.
§

impl From<TextViewLayer> for Value

§

fn from(v: TextViewLayer) -> Value

Converts to this type from the input type.
§

impl From<TextWindowType> for Value

§

fn from(v: TextWindowType) -> Value

Converts to this type from the input type.
§

impl From<TextureDownloader> for Value

§

fn from(o: TextureDownloader) -> Value

Converts to this type from the input type.
§

impl From<TextureError> for Value

§

fn from(v: TextureError) -> Value

Converts to this type from the input type.
§

impl From<TimeZone> for Value

§

fn from(s: TimeZone) -> Value

Converts to this type from the input type.
§

impl From<TitlebarGesture> for Value

§

fn from(v: TitlebarGesture) -> Value

Converts to this type from the input type.
§

impl From<TlsAuthenticationMode> for Value

§

fn from(v: TlsAuthenticationMode) -> Value

Converts to this type from the input type.
§

impl From<TlsCertificateFlags> for Value

§

fn from(v: TlsCertificateFlags) -> Value

Converts to this type from the input type.
§

impl From<TlsCertificateRequestFlags> for Value

§

fn from(v: TlsCertificateRequestFlags) -> Value

Converts to this type from the input type.
§

impl From<TlsChannelBindingError> for Value

§

fn from(v: TlsChannelBindingError) -> Value

Converts to this type from the input type.
§

impl From<TlsChannelBindingType> for Value

§

fn from(v: TlsChannelBindingType) -> Value

Converts to this type from the input type.
§

impl From<TlsDatabaseLookupFlags> for Value

§

fn from(v: TlsDatabaseLookupFlags) -> Value

Converts to this type from the input type.
§

impl From<TlsDatabaseVerifyFlags> for Value

§

fn from(v: TlsDatabaseVerifyFlags) -> Value

Converts to this type from the input type.
§

impl From<TlsError> for Value

§

fn from(v: TlsError) -> Value

Converts to this type from the input type.
§

impl From<TlsInteractionResult> for Value

§

fn from(v: TlsInteractionResult) -> Value

Converts to this type from the input type.
§

impl From<TlsPasswordFlags> for Value

§

fn from(v: TlsPasswordFlags) -> Value

Converts to this type from the input type.
§

impl From<TlsProtocolVersion> for Value

§

fn from(v: TlsProtocolVersion) -> Value

Converts to this type from the input type.
§

impl From<TlsRehandshakeMode> for Value

§

fn from(v: TlsRehandshakeMode) -> Value

Converts to this type from the input type.
§

impl From<ToplevelLayout> for Value

§

fn from(s: ToplevelLayout) -> Value

Converts to this type from the input type.
§

impl From<ToplevelState> for Value

§

fn from(v: ToplevelState) -> Value

Converts to this type from the input type.
§

impl From<TouchpadGesturePhase> for Value

§

fn from(v: TouchpadGesturePhase) -> Value

Converts to this type from the input type.
§

impl From<Transform> for Value

§

fn from(s: Transform) -> Value

Converts to this type from the input type.
§

impl From<TransformCategory> for Value

§

fn from(v: TransformCategory) -> Value

Converts to this type from the input type.
§

impl From<TreeModelFlags> for Value

§

fn from(v: TreeModelFlags) -> Value

Converts to this type from the input type.
§

impl From<TreePath> for Value

§

fn from(o: TreePath) -> Value

Converts to this type from the input type.
§

impl From<TreeRowReference> for Value

§

fn from(o: TreeRowReference) -> Value

Converts to this type from the input type.
§

impl From<TreeViewColumnSizing> for Value

§

fn from(v: TreeViewColumnSizing) -> Value

Converts to this type from the input type.
§

impl From<TreeViewDropPosition> for Value

§

fn from(v: TreeViewDropPosition) -> Value

Converts to this type from the input type.
§

impl From<TreeViewGridLines> for Value

§

fn from(v: TreeViewGridLines) -> Value

Converts to this type from the input type.
§

impl From<ULong> for Value

§

fn from(v: ULong) -> Value

Converts to this type from the input type.
§

impl From<Underline> for Value

§

fn from(v: Underline) -> Value

Converts to this type from the input type.
§

impl From<UnicodeBreakType> for Value

§

fn from(v: UnicodeBreakType) -> Value

Converts to this type from the input type.
§

impl From<UnicodeScript> for Value

§

fn from(v: UnicodeScript) -> Value

Converts to this type from the input type.
§

impl From<UnicodeType> for Value

§

fn from(v: UnicodeType) -> Value

Converts to this type from the input type.
§

impl From<Unit> for Value

§

fn from(v: Unit) -> Value

Converts to this type from the input type.
§

impl From<UnixMountEntry> for Value

§

fn from(o: UnixMountEntry) -> Value

Converts to this type from the input type.
§

impl From<UnixMountPoint> for Value

§

fn from(o: UnixMountPoint) -> Value

Converts to this type from the input type.
§

impl From<UnixSocketAddressType> for Value

§

fn from(v: UnixSocketAddressType) -> Value

Converts to this type from the input type.
§

impl From<Uri> for Value

§

fn from(s: Uri) -> Value

Converts to this type from the input type.
§

impl From<ValueArray> for Value

§

fn from(o: ValueArray) -> Value

Converts to this type from the input type.
§

impl From<Variant> for Value

§

fn from(v: Variant) -> Value

Converts to this type from the input type.
§

impl From<VariantDict> for Value

§

fn from(s: VariantDict) -> Value

Converts to this type from the input type.
§

impl From<Vec<GString>> for Value

§

fn from(v: Vec<GString>) -> Value

Converts to this type from the input type.
§

impl From<Vec<String>> for Value

§

fn from(s: Vec<String>) -> Value

Converts to this type from the input type.
§

impl From<VulkanError> for Value

§

fn from(v: VulkanError) -> Value

Converts to this type from the input type.
§

impl From<Weight> for Value

§

fn from(v: Weight) -> Value

Converts to this type from the input type.
§

impl From<WrapMode> for Value

§

fn from(v: WrapMode) -> Value

Converts to this type from the input type.
§

impl From<WrapMode> for Value

§

fn from(v: WrapMode) -> Value

Converts to this type from the input type.
§

impl From<ZlibCompressorFormat> for Value

§

fn from(v: ZlibCompressorFormat) -> Value

Converts to this type from the input type.
§

impl From<bool> for Value

§

fn from(v: bool) -> Value

Converts to this type from the input type.
§

impl From<char> for Value

§

fn from(v: char) -> Value

Converts to this type from the input type.
§

impl From<f32> for Value

§

fn from(v: f32) -> Value

Converts to this type from the input type.
§

impl From<f64> for Value

§

fn from(v: f64) -> Value

Converts to this type from the input type.
§

impl From<i32> for Value

§

fn from(v: i32) -> Value

Converts to this type from the input type.
§

impl From<i64> for Value

§

fn from(v: i64) -> Value

Converts to this type from the input type.
§

impl From<i8> for Value

§

fn from(v: i8) -> Value

Converts to this type from the input type.
§

impl From<u32> for Value

§

fn from(v: u32) -> Value

Converts to this type from the input type.
§

impl From<u64> for Value

§

fn from(v: u64) -> Value

Converts to this type from the input type.
§

impl From<u8> for Value

§

fn from(v: u8) -> Value

Converts to this type from the input type.
§

impl FromIterator<Value> for ValueArray

§

fn from_iter<T>(iter: T) -> ValueArray
where T: IntoIterator<Item = Value>,

Creates a value from an iterator. Read more
§

impl<'a> FromValue<'a> for &'a Value

§

type Checker = NopChecker

Value type checker.
§

unsafe fn from_value(value: &'a Value) -> &'a Value

Get the contained value from a Value. Read more
§

impl<'a> FromValue<'a> for Value

§

type Checker = NopChecker

Value type checker.
§

unsafe fn from_value(value: &'a Value) -> Value

Get the contained value from a Value. Read more
§

impl ToValue for &Value

§

fn to_value(&self) -> Value

Convert a value to a Value.
§

fn value_type(&self) -> Type

Returns the type identifier of self. Read more
§

impl ToValue for Value

§

fn to_value(&self) -> Value

Convert a value to a Value.
§

fn value_type(&self) -> Type

Returns the type identifier of self. Read more

Auto Trait Implementations§

§

impl Freeze for Value

§

impl RefUnwindSafe for Value

§

impl !Send for Value

§

impl !Sync for Value

§

impl Unpin for Value

§

impl UnwindSafe for Value

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<C> AsyncPosition<()> for C

§

fn position(_index: usize)

Returns the position. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T

§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T

§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for T

§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for T

§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for T

§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for T

§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T

§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T

§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for T

§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for T

§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for T

§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for T

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IntoClosureReturnValue for T
where T: Into<Value>,

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
§

impl<C, I> Position<(), I> for C

§

fn position(&self, _index: &I)

Returns the position. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,