Trait glib::value::ToValue [−][src]
pub trait ToValue { fn to_value(&self) -> Value; fn value_type(&self) -> Type; }
Expand description
Trait to convert a value to a Value
.
Required methods
fn value_type(&self) -> Type
fn value_type(&self) -> Type
Returns the type identifer of self
.
This is the type of the value to be returned by to_value
.
Implementations on Foreign Types
Blanket implementation for all references.
Blanket implementation for all optional types.
Implementors
impl ToValue for Context
impl ToValue for Context
impl ToValue for Device
impl ToValue for Device
impl ToValue for Antialias
impl ToValue for Antialias
impl ToValue for FillRule
impl ToValue for FillRule
impl ToValue for LineCap
impl ToValue for LineCap
impl ToValue for LineJoin
impl ToValue for LineJoin
impl ToValue for Operator
impl ToValue for Operator
impl ToValue for PathDataType
impl ToValue for PathDataType
impl ToValue for Content
impl ToValue for Content
impl ToValue for Extend
impl ToValue for Extend
impl ToValue for Filter
impl ToValue for Filter
impl ToValue for PatternType
impl ToValue for PatternType
impl ToValue for FontSlant
impl ToValue for FontSlant
impl ToValue for FontWeight
impl ToValue for FontWeight
impl ToValue for TextClusterFlags
impl ToValue for TextClusterFlags
impl ToValue for FontType
impl ToValue for FontType
impl ToValue for SubpixelOrder
impl ToValue for SubpixelOrder
impl ToValue for HintStyle
impl ToValue for HintStyle
impl ToValue for HintMetrics
impl ToValue for HintMetrics
impl ToValue for SurfaceType
impl ToValue for SurfaceType
impl ToValue for Format
impl ToValue for Format
impl ToValue for RegionOverlap
impl ToValue for RegionOverlap
impl ToValue for DeviceType
impl ToValue for DeviceType
impl ToValue for ImageSurface
impl ToValue for ImageSurface
impl ToValue for RecordingSurface
impl ToValue for RecordingSurface
impl ToValue for Rectangle
impl ToValue for Rectangle
impl ToValue for RectangleInt
impl ToValue for RectangleInt
impl ToValue for Region
impl ToValue for Region
impl ToValue for Surface
impl ToValue for Surface
impl ToValue for XCBSurface
impl ToValue for XCBSurface
impl ToValue for PdfSurface
impl ToValue for PdfSurface
impl ToValue for PsSurface
impl ToValue for PsSurface
impl ToValue for SvgSurface
impl ToValue for SvgSurface
impl ToValue for QuartzSurface
impl ToValue for QuartzSurface
impl ToValue for Win32Surface
impl ToValue for Win32Surface
impl ToValue for Colorspace
impl ToValue for Colorspace
impl ToValue for InterpType
impl ToValue for InterpType
impl ToValue for PixbufAlphaMode
impl ToValue for PixbufAlphaMode
impl ToValue for PixbufError
impl ToValue for PixbufError
impl ToValue for PixbufRotation
impl ToValue for PixbufRotation
impl ToValue for BusType
impl ToValue for BusType
impl ToValue for ConverterResult
impl ToValue for ConverterResult
impl ToValue for CredentialsType
impl ToValue for CredentialsType
impl ToValue for DBusMessageByteOrder
impl ToValue for DBusMessageByteOrder
impl ToValue for DBusMessageHeaderField
impl ToValue for DBusMessageHeaderField
impl ToValue for DBusMessageType
impl ToValue for DBusMessageType
impl ToValue for DataStreamByteOrder
impl ToValue for DataStreamByteOrder
impl ToValue for DataStreamNewlineType
impl ToValue for DataStreamNewlineType
impl ToValue for DriveStartStopType
impl ToValue for DriveStartStopType
impl ToValue for EmblemOrigin
impl ToValue for EmblemOrigin
impl ToValue for FileAttributeStatus
impl ToValue for FileAttributeStatus
impl ToValue for FileAttributeType
impl ToValue for FileAttributeType
impl ToValue for FileMonitorEvent
impl ToValue for FileMonitorEvent
impl ToValue for FileType
impl ToValue for FileType
impl ToValue for IOErrorEnum
impl ToValue for IOErrorEnum
impl ToValue for MemoryMonitorWarningLevel
impl ToValue for MemoryMonitorWarningLevel
impl ToValue for MountOperationResult
impl ToValue for MountOperationResult
impl ToValue for NetworkConnectivity
impl ToValue for NetworkConnectivity
impl ToValue for NotificationPriority
impl ToValue for NotificationPriority
impl ToValue for PasswordSave
impl ToValue for PasswordSave
impl ToValue for ResolverRecordType
impl ToValue for ResolverRecordType
impl ToValue for ResourceError
impl ToValue for ResourceError
impl ToValue for SocketClientEvent
impl ToValue for SocketClientEvent
impl ToValue for SocketFamily
impl ToValue for SocketFamily
impl ToValue for SocketListenerEvent
impl ToValue for SocketListenerEvent
impl ToValue for SocketProtocol
impl ToValue for SocketProtocol
impl ToValue for SocketType
impl ToValue for SocketType
impl ToValue for TlsAuthenticationMode
impl ToValue for TlsAuthenticationMode
impl ToValue for TlsCertificateRequestFlags
impl ToValue for TlsCertificateRequestFlags
impl ToValue for TlsChannelBindingType
impl ToValue for TlsChannelBindingType
impl ToValue for TlsDatabaseLookupFlags
impl ToValue for TlsDatabaseLookupFlags
impl ToValue for TlsInteractionResult
impl ToValue for TlsInteractionResult
impl ToValue for TlsRehandshakeMode
impl ToValue for TlsRehandshakeMode
impl ToValue for UnixSocketAddressType
impl ToValue for UnixSocketAddressType
impl ToValue for ZlibCompressorFormat
impl ToValue for ZlibCompressorFormat
impl ToValue for AppInfoCreateFlags
impl ToValue for AppInfoCreateFlags
impl ToValue for ApplicationFlags
impl ToValue for ApplicationFlags
impl ToValue for AskPasswordFlags
impl ToValue for AskPasswordFlags
impl ToValue for BusNameOwnerFlags
impl ToValue for BusNameOwnerFlags
impl ToValue for BusNameWatcherFlags
impl ToValue for BusNameWatcherFlags
impl ToValue for ConverterFlags
impl ToValue for ConverterFlags
impl ToValue for DBusCallFlags
impl ToValue for DBusCallFlags
impl ToValue for DBusCapabilityFlags
impl ToValue for DBusCapabilityFlags
impl ToValue for DBusConnectionFlags
impl ToValue for DBusConnectionFlags
impl ToValue for DBusInterfaceSkeletonFlags
impl ToValue for DBusInterfaceSkeletonFlags
impl ToValue for DBusMessageFlags
impl ToValue for DBusMessageFlags
impl ToValue for DBusProxyFlags
impl ToValue for DBusProxyFlags
impl ToValue for DBusSendMessageFlags
impl ToValue for DBusSendMessageFlags
impl ToValue for DBusServerFlags
impl ToValue for DBusServerFlags
impl ToValue for DBusSignalFlags
impl ToValue for DBusSignalFlags
impl ToValue for DriveStartFlags
impl ToValue for DriveStartFlags
impl ToValue for FileCopyFlags
impl ToValue for FileCopyFlags
impl ToValue for FileCreateFlags
impl ToValue for FileCreateFlags
impl ToValue for FileMeasureFlags
impl ToValue for FileMeasureFlags
impl ToValue for FileMonitorFlags
impl ToValue for FileMonitorFlags
impl ToValue for FileQueryInfoFlags
impl ToValue for FileQueryInfoFlags
impl ToValue for IOStreamSpliceFlags
impl ToValue for IOStreamSpliceFlags
impl ToValue for MountMountFlags
impl ToValue for MountMountFlags
impl ToValue for MountUnmountFlags
impl ToValue for MountUnmountFlags
impl ToValue for OutputStreamSpliceFlags
impl ToValue for OutputStreamSpliceFlags
impl ToValue for ResolverNameLookupFlags
impl ToValue for ResolverNameLookupFlags
impl ToValue for ResourceLookupFlags
impl ToValue for ResourceLookupFlags
impl ToValue for SettingsBindFlags
impl ToValue for SettingsBindFlags
impl ToValue for SubprocessFlags
impl ToValue for SubprocessFlags
impl ToValue for TlsCertificateFlags
impl ToValue for TlsCertificateFlags
impl ToValue for TlsDatabaseVerifyFlags
impl ToValue for TlsDatabaseVerifyFlags
impl ToValue for TlsPasswordFlags
impl ToValue for TlsPasswordFlags
impl ToValue for Alignment
impl ToValue for Alignment
impl ToValue for AttrType
impl ToValue for AttrType
impl ToValue for BidiType
impl ToValue for BidiType
impl ToValue for CoverageLevel
impl ToValue for CoverageLevel
impl ToValue for Direction
impl ToValue for Direction
impl ToValue for EllipsizeMode
impl ToValue for EllipsizeMode
impl ToValue for Gravity
impl ToValue for Gravity
impl ToValue for GravityHint
impl ToValue for GravityHint
impl ToValue for Overline
impl ToValue for Overline
impl ToValue for RenderPart
impl ToValue for RenderPart
impl ToValue for Script
impl ToValue for Script
impl ToValue for Stretch
impl ToValue for Stretch
impl ToValue for Style
impl ToValue for Style
impl ToValue for TabAlign
impl ToValue for TabAlign
impl ToValue for Underline
impl ToValue for Underline
impl ToValue for Variant
impl ToValue for Variant
impl ToValue for Weight
impl ToValue for Weight
impl ToValue for WrapMode
impl ToValue for WrapMode
impl ToValue for FontMask
impl ToValue for FontMask
impl ToValue for ShapeFlags
impl ToValue for ShapeFlags
impl ToValue for ShowFlags
impl ToValue for ShowFlags